]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/without-tilde.stderr
Rollup merge of #100750 - akabinds:akabinds/improved-invalid-function-qual-error...
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / without-tilde.stderr
1 error: expected one of `!`, `(`, `,`, `=`, `>`, `?`, `for`, `~`, lifetime, or path, found keyword `const`
2   --> $DIR/without-tilde.rs:5:13
3    |
4 LL | struct S<T: const Tr>;
5    |             ^^^^^ expected one of 10 possible tokens
6
7 error: aborting due to previous error
8