Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

better diagnostic for try! in main #27112

Closed
steveklabnik opened this issue Jul 18, 2015 · 1 comment
Closed

better diagnostic for try! in main #27112

steveklabnik opened this issue Jul 18, 2015 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@steveklabnik
Copy link
Member

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

@steveklabnik
Copy link
Member Author

Triage: I'm the worst. Closing in favor of #35946 even though it's newer, since it's focused on ? instead of try!, as is convention these days.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

No branches or pull requests

1 participant