never type appears in duplicate diagnostics #139790
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Minus the diagnostic about `Option<!>`
Rationale and extra context
This only happens on edition 2024.
Other cases
Rust Version
Anything else?
https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=44414f7fe4f727ef3120e30015bfdd28
The text was updated successfully, but these errors were encountered: