Skip to content

better diagnostic for try! in main #27112

Closed
@steveklabnik

Description

@steveklabnik

new Rust users try try! in main() quite a bit. Adding a better diagnostic than () isn't Result would be nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions