@@ -5,34 +5,34 @@ LL | r#if true { }
55 | ^^^^ expected one of 8 possible tokens here
66
77error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
8- --> $DIR/raw-literal-keywords.rs:7 :14
8+ --> $DIR/raw-literal-keywords.rs:6 :14
99 |
1010LL | r#struct Test;
1111 | ^^^^ expected one of 8 possible tokens here
1212
1313error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
14- --> $DIR/raw-literal-keywords.rs:12 :13
14+ --> $DIR/raw-literal-keywords.rs:10 :13
1515 |
1616LL | r#union Test;
1717 | ^^^^ expected one of 8 possible tokens here
1818
1919error[E0425]: cannot find value `if` in this scope
20- --> $DIR/raw-literal-keywords.rs:2:5
20+ --> $DIR/raw-literal-keywords.rs:14:13
2121 |
22- LL | r#if true { }
23- | ^^^^ not found in this scope
22+ LL | let _ = r#if;
23+ | ^^^^ not found in this scope
2424
2525error[E0425]: cannot find value `struct` in this scope
26- --> $DIR/raw-literal-keywords.rs:7:5
26+ --> $DIR/raw-literal-keywords.rs:18:13
2727 |
28- LL | r#struct Test ;
29- | ^^^^^^^^ not found in this scope
28+ LL | let _ = r#struct;
29+ | ^^^^^^^^ not found in this scope
3030
3131error[E0425]: cannot find value `union` in this scope
32- --> $DIR/raw-literal-keywords.rs:12:5
32+ --> $DIR/raw-literal-keywords.rs:22:13
3333 |
34- LL | r#union Test ;
35- | ^^^^^^^ not found in this scope
34+ LL | let _ = r#union;
35+ | ^^^^^^^ not found in this scope
3636
3737error: aborting due to 6 previous errors
3838
0 commit comments