This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +43
-4
lines changed Expand file tree Collapse file tree 2 files changed +43
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ fn main() {
22 let y = 0 ;
33 //~^ ERROR unknown start of token: \u{37e}
44 //~^^ HELP Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
5- let x = 0 ;
5+ let x = 0 ;
66 //~^ ERROR unknown start of token: \u{a0}
77 //~^^ NOTE character appears 3 more times
88 //~^^^ 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
915}
Original file line number Diff line number Diff line change @@ -12,14 +12,47 @@ LL | let y = 0;
1212error: unknown start of token: \u{a0}
1313 --> $DIR/unicode-chars.rs:5:5
1414 |
15- LL | let x = 0;
15+ LL | let x = 0;
1616 | ^^^^
1717 |
1818 = note: character appears 3 more times
1919help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
2020 |
21- LL | let x = 0;
21+ LL | let x = 0;
2222 | ++++
2323
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
2558
You can’t perform that action at this time.
0 commit comments