mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-24 22:44:26 +00:00
15 lines
351 B
Plaintext
15 lines
351 B
Plaintext
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
|
|
|