blob: b6b77ac4a2fb67ada81e1ff0c4c37988304074ff (
plain)
1
2
3
4
5
6
7
8
|
error: expected one of `!`, `(`, `,`, `=`, `>`, `?`, `for`, `~`, lifetime, or path, found keyword `const`
--> $DIR/without-tilde.rs:5:13
|
LL | struct S<T: const Tr>;
| ^^^^^ expected one of 10 possible tokens
error: aborting due to previous error
|