2021-09-16 15:05:14 -05:00
|
|
|
error: expected lifetime, type, or constant, found keyword `const`
|
|
|
|
--> $DIR/issue-89013-no-assoc.rs:9:10
|
|
|
|
|
|
|
|
|
LL | impl Foo<const 3> for Bar {
|
|
|
|
| ^^^^^
|
2021-09-28 14:48:58 -05:00
|
|
|
|
|
|
|
|
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 {
|
|
|
|
|
|
2021-09-16 15:05:14 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|