]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2632-const-trait-impl/const-trait-bound-opt-out/opt-out-twice.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / rfc-2632-const-trait-impl / const-trait-bound-opt-out / opt-out-twice.stderr
CommitLineData
dfeec247
XL
1error: expected identifier, found keyword `const`
2 --> $DIR/opt-out-twice.rs:6:21
3 |
4LL | struct S<T: ?const ?const Tr>;
5 | ^^^^^ expected identifier, found keyword
6
7error: expected one of `(`, `+`, `,`, `::`, `<`, `=`, or `>`, found `Tr`
8 --> $DIR/opt-out-twice.rs:6:27
9 |
10LL | struct S<T: ?const ?const Tr>;
11 | ^^ expected one of 7 possible tokens
12
13error: aborting due to 2 previous errors
14