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

15 lines
351 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 {
2022-06-08 12:34:57 -05:00
|
error: aborting due to previous error