Invalid suggest for methods in auto trait #105788
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
F-auto_traits
`#![feature(auto_traits)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code
The current output is:
The second error is not reasonable, since we don't allow associated items in auto trait.
Ideally the output should look like:
The text was updated successfully, but these errors were encountered: