rust/src/test/ui/const-generics/parser-error-recovery/issue-89013-no-assoc.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
352 B
Plaintext
Raw Normal View History

error: expected lifetime, type, or constant, found keyword `const`
--> $DIR/issue-89013-no-assoc.rs:9:10
|
LL | impl Foo<const 3> for Bar {
| ^^^^^
|
help: the `const` keyword is only needed in the definition of the type
|
LL - impl Foo<const 3> for Bar {
LL + impl Foo<3> for Bar {
|
error: aborting due to previous error