Closed
Description
As it is currently written, E0207 talks entirely about type parameters. Now that const parameters also need to constrain implementations (under the same rules described for types), they also need to be mentioned in the error explanation. Since other items don't require const parameters to be used at all, we might also want to specifically call out this difference here.
Furthermore, E0207 triggers if you use an unconstrained lifetime in an associated type, and this is completely unspecified by the error as well.
Metadata
Metadata
Assignees
Labels
Area: const generics (parameters and arguments)Area: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Explanation of an error code (--explain)Category: An issue proposing an enhancement or a PR with one.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.