]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/raw/raw-literal-keywords.stderr
Move more parsing tests to ui/parser
[rust.git] / src / test / ui / parser / 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