Missing docs about associated constants preventing trait from being made into an object #47952
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-trait-system
Area: Trait system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
The following code (from #29924)
Doesn't compile because of the following error:
I couldn't find anywhere why a trait cannot contain associated consts, so I suggest to update the error index with a short explaination: https://doc.rust-lang.org/error-index.html#E0038
The text was updated successfully, but these errors were encountered: