Hint for E0790 does not result in valid code (missing path to implementation) #117623
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
Since
base::S
has not been imported, the hint code should usebase::S
rather thanS
Other cases
No response
Anything else?
I noticed this in
tests/ui/traits/static-method-generic-inference.rs
. Reduced to isolate the issue.The text was updated successfully, but these errors were encountered: