Can't define a trait with an associated type and function of the same name #27048
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-trait-system
Area: Trait system
This doesn't work:
The error you get:
It seems this should be allowed since they are in different namespaces.
The text was updated successfully, but these errors were encountered: