Account for use of try!()
in 2018 edition and guide users in the right direction
#71155
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-edition-2018
Area: The 2018 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-parser
Area: The parsing of Rust source code to an AST
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-edition
Diagnostics: An error or lint that should account for edition differences.
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
F-try_blocks
`#![feature(try_blocks)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Old documentation and blogposts will never be updated to not talk about the
try
macro. The current output of the following codeis
It should provide structured suggestions to either use
r#try
or?
:This request is similar in spirit to #67204 and feels like a subset of #65148.
This issue has been assigned to @Duddino via this comment.
The text was updated successfully, but these errors were encountered: