Error wrongly trying to assign assoc const to primitive speaks of methods #79760
Labels
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
Uh oh!
There was an error while loading. Please reload this page.
Imperfection in error output.
I just tried adding an associated constant to a type alias of a primitive (to see if it was allowed or whether I'd need a wrapper) and noticed an imperfection in the error output in that it says "help: consider using a trait to implement these methods" pointing to the impl block that actually just contains an constant.
The text was updated successfully, but these errors were encountered: