Add more nbsp to unicode-chars test
This commit is contained in:
parent
4b51adf6ff
commit
39edcfa84e
@ -2,8 +2,14 @@ fn main() {
|
|||||||
let y = 0;
|
let y = 0;
|
||||||
//~^ ERROR unknown start of token: \u{37e}
|
//~^ ERROR unknown start of token: \u{37e}
|
||||||
//~^^ HELP Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
|
//~^^ HELP Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
|
||||||
let x = 0;
|
let x = 0;
|
||||||
//~^ ERROR unknown start of token: \u{a0}
|
//~^ ERROR unknown start of token: \u{a0}
|
||||||
//~^^ NOTE character appears 3 more times
|
//~^^ NOTE character appears 3 more times
|
||||||
//~^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
//~^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
||||||
|
//~^^^^ ERROR unknown start of token: \u{a0}
|
||||||
|
//~^^^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
||||||
|
//~^^^^^^ ERROR unknown start of token: \u{a0}
|
||||||
|
//~^^^^^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
||||||
|
//~^^^^^^^^ ERROR unknown start of token: \u{a0}
|
||||||
|
//~^^^^^^^^^ HELP Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
||||||
}
|
}
|
||||||
|
@ -12,14 +12,47 @@ LL | let y = 0;
|
|||||||
error: unknown start of token: \u{a0}
|
error: unknown start of token: \u{a0}
|
||||||
--> $DIR/unicode-chars.rs:5:5
|
--> $DIR/unicode-chars.rs:5:5
|
||||||
|
|
|
|
||||||
LL | let x = 0;
|
LL | let x = 0;
|
||||||
| ^^^^
|
| ^^^^
|
||||||
|
|
|
|
||||||
= note: character appears 3 more times
|
= note: character appears 3 more times
|
||||||
help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
||||||
|
|
|
|
||||||
LL | let x = 0;
|
LL | let x = 0;
|
||||||
| ++++
|
| ++++
|
||||||
|
|
||||||
error: aborting due to 2 previous errors
|
error: unknown start of token: \u{a0}
|
||||||
|
--> $DIR/unicode-chars.rs:5:12
|
||||||
|
|
|
||||||
|
LL | let x = 0;
|
||||||
|
| ^
|
||||||
|
|
|
||||||
|
help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
||||||
|
|
|
||||||
|
LL | let x = 0;
|
||||||
|
| +
|
||||||
|
|
||||||
|
error: unknown start of token: \u{a0}
|
||||||
|
--> $DIR/unicode-chars.rs:5:14
|
||||||
|
|
|
||||||
|
LL | let x = 0;
|
||||||
|
| ^
|
||||||
|
|
|
||||||
|
help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
||||||
|
|
|
||||||
|
LL | let x = 0;
|
||||||
|
| +
|
||||||
|
|
||||||
|
error: unknown start of token: \u{a0}
|
||||||
|
--> $DIR/unicode-chars.rs:5:16
|
||||||
|
|
|
||||||
|
LL | let x = 0;
|
||||||
|
| ^
|
||||||
|
|
|
||||||
|
help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is not
|
||||||
|
|
|
||||||
|
LL | let x = 0;
|
||||||
|
| +
|
||||||
|
|
||||||
|
error: aborting due to 5 previous errors
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user