File tree 2 files changed +43
-4
lines changed
2 files changed +43
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ fn main() {
2
2
let y = 0 ;
3
3
//~^ ERROR unknown start of token: \u{37e}
4
4
//~^^ HELP Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
5
- let x = 0 ;
5
+ let x = 0 ;
6
6
//~^ ERROR unknown start of token: \u{a0}
7
7
//~^^ NOTE character appears 3 more times
8
8
//~^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
9
+ //~^^^^ ERROR unknown start of token: \u{a0}
10
+ //~^^^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
11
+ //~^^^^^^ ERROR unknown start of token: \u{a0}
12
+ //~^^^^^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
13
+ //~^^^^^^^^ ERROR unknown start of token: \u{a0}
14
+ //~^^^^^^^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
9
15
}
Original file line number Diff line number Diff line change @@ -12,14 +12,47 @@ LL | let y = 0;
12
12
error: unknown start of token: \u{a0}
13
13
--> $DIR/unicode-chars.rs:5:5
14
14
|
15
- LL | let x = 0;
15
+ LL | let x = 0;
16
16
| ^^^^
17
17
|
18
18
= note: character appears 3 more times
19
19
help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
20
20
|
21
- LL | let x = 0;
21
+ LL | let x = 0;
22
22
| ++++
23
23
24
- error: aborting due to 2 previous errors
24
+ error: unknown start of token: \u{a0}
25
+ --> $DIR/unicode-chars.rs:5:12
26
+ |
27
+ LL | let x = 0;
28
+ | ^
29
+ |
30
+ help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
31
+ |
32
+ LL | let x = 0;
33
+ | +
34
+
35
+ error: unknown start of token: \u{a0}
36
+ --> $DIR/unicode-chars.rs:5:14
37
+ |
38
+ LL | let x = 0;
39
+ | ^
40
+ |
41
+ help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
42
+ |
43
+ LL | let x = 0;
44
+ | +
45
+
46
+ error: unknown start of token: \u{a0}
47
+ --> $DIR/unicode-chars.rs:5:16
48
+ |
49
+ LL | let x = 0;
50
+ | ^
51
+ |
52
+ help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
53
+ |
54
+ LL | let x = 0;
55
+ | +
56
+
57
+ error: aborting due to 5 previous errors
25
58
You can’t perform that action at this time.
0 commit comments