Spurious compiler_builtins::int in error message #71090
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This wrong code:
Gives (rustc 1.44.0-nightly (3712e11 2020-04-12)):
I think it's better to omit the second part of the error message, with the compiler_builtins::int::Int ghost trait.
The text was updated successfully, but these errors were encountered: