blob: be3d4f6d25c14628b8f332e1f04a98f02f251175 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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 1 previous error
|