1
Fork 0

Add more nbsp to unicode-chars test

This commit is contained in:
David Tolnay 2023-01-14 11:02:14 -08:00
parent 4b51adf6ff
commit 39edcfa84e
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
2 changed files with 43 additions and 4 deletions

View file

@ -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
}