]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/parser-error-recovery/issue-89013-no-assoc.stderr
Auto merge of #105924 - TimNN:ui-remap, r=Mark-Simulacrum
[rust.git] / tests / ui / const-generics / parser-error-recovery / issue-89013-no-assoc.stderr
1 error: expected lifetime, type, or constant, found keyword `const`
2   --> $DIR/issue-89013-no-assoc.rs:9:10
3    |
4 LL | impl Foo<const 3> for Bar {
5    |          ^^^^^
6    |
7 help: the `const` keyword is only needed in the definition of the type
8    |
9 LL - impl Foo<const 3> for Bar {
10 LL + impl Foo<3> for Bar {
11    |
12
13 error: aborting due to previous error
14