when rustc suggests alternative solutions, rustfix will apply none of them #104910
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-diagnostic-infra
Diagnostics: Issues that affect all diagnostics, or relate to the diagnostic machinery itself.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
src/test/ui/lint/let_underscore/let_underscore_drop.rs
The current output is:
It's great that we can suggest several solutions here BUT this will prevent rustfix from applying ANY of them 😅
I wonder if we can be more clever about this, perhaps flags the first one somehow and and tell rustfix "apply this, and only if that fails to compile, try this other suggestion" ?
The text was updated successfully, but these errors were encountered: