]>
Commit | Line | Data |
---|---|---|
dfeec247 XL |
1 | error: expected identifier, found keyword `const` |
2 | --> $DIR/opt-out-twice.rs:6:21 | |
3 | | | |
4 | LL | struct S<T: ?const ?const Tr>; | |
5 | | ^^^^^ expected identifier, found keyword | |
6 | ||
7 | error: expected one of `(`, `+`, `,`, `::`, `<`, `=`, or `>`, found `Tr` | |
8 | --> $DIR/opt-out-twice.rs:6:27 | |
9 | | | |
10 | LL | struct S<T: ?const ?const Tr>; | |
11 | | ^^ expected one of 7 possible tokens | |
12 | ||
13 | error: aborting due to 2 previous errors | |
14 |