diff options
Diffstat (limited to 'tests/ui/parser/unicode-chars.rs')
| -rw-r--r-- | tests/ui/parser/unicode-chars.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/ui/parser/unicode-chars.rs b/tests/ui/parser/unicode-chars.rs index ba35e95c82a..b9892056321 100644 --- a/tests/ui/parser/unicode-chars.rs +++ b/tests/ui/parser/unicode-chars.rs @@ -2,8 +2,14 @@ fn main() { let y = 0; //~^ ERROR unknown start of token: \u{37e} //~^^ 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} //~^^ NOTE character appears 3 more times //~^^^ 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 } |
