]> git.proxmox.com Git - rustc.git/blob - src/test/ui/raw/raw-literal-keywords.stderr
New upstream version 1.30.0+dfsg1
[rustc.git] / src / test / ui / raw / raw-literal-keywords.stderr
1 error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `true`
2 --> $DIR/raw-literal-keywords.rs:14:10
3 |
4 LL | r#if true { } //~ ERROR found `true`
5 | ^^^^ expected one of 8 possible tokens here
6
7 error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
8 --> $DIR/raw-literal-keywords.rs:18:14
9 |
10 LL | r#struct Test; //~ ERROR found `Test`
11 | ^^^^ expected one of 8 possible tokens here
12
13 error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
14 --> $DIR/raw-literal-keywords.rs:22:13
15 |
16 LL | r#union Test; //~ ERROR found `Test`
17 | ^^^^ expected one of 8 possible tokens here
18
19 error: aborting due to 3 previous errors
20