@@ -5,34 +5,34 @@ LL | r#if true { }
5
5
| ^^^^ expected one of 8 possible tokens here
6
6
7
7
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
8
- --> $DIR/raw-literal-keywords.rs:7 :14
8
+ --> $DIR/raw-literal-keywords.rs:6 :14
9
9
|
10
10
LL | r#struct Test;
11
11
| ^^^^ expected one of 8 possible tokens here
12
12
13
13
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Test`
14
- --> $DIR/raw-literal-keywords.rs:12 :13
14
+ --> $DIR/raw-literal-keywords.rs:10 :13
15
15
|
16
16
LL | r#union Test;
17
17
| ^^^^ expected one of 8 possible tokens here
18
18
19
19
error[E0425]: cannot find value `if` in this scope
20
- --> $DIR/raw-literal-keywords.rs:2:5
20
+ --> $DIR/raw-literal-keywords.rs:14:13
21
21
|
22
- LL | r#if true { }
23
- | ^^^^ not found in this scope
22
+ LL | let _ = r#if;
23
+ | ^^^^ not found in this scope
24
24
25
25
error[E0425]: cannot find value `struct` in this scope
26
- --> $DIR/raw-literal-keywords.rs:7:5
26
+ --> $DIR/raw-literal-keywords.rs:18:13
27
27
|
28
- LL | r#struct Test ;
29
- | ^^^^^^^^ not found in this scope
28
+ LL | let _ = r#struct;
29
+ | ^^^^^^^^ not found in this scope
30
30
31
31
error[E0425]: cannot find value `union` in this scope
32
- --> $DIR/raw-literal-keywords.rs:12:5
32
+ --> $DIR/raw-literal-keywords.rs:22:13
33
33
|
34
- LL | r#union Test ;
35
- | ^^^^^^^ not found in this scope
34
+ LL | let _ = r#union;
35
+ | ^^^^^^^ not found in this scope
36
36
37
37
error: aborting due to 6 previous errors
38
38
0 commit comments