diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/parser/unicode-chars.rs | 6 | ||||
| -rw-r--r-- | tests/ui/parser/unicode-chars.stderr | 35 |
2 files changed, 1 insertions, 40 deletions
diff --git a/tests/ui/parser/unicode-chars.rs b/tests/ui/parser/unicode-chars.rs index b9892056321..f0122561f46 100644 --- a/tests/ui/parser/unicode-chars.rs +++ b/tests/ui/parser/unicode-chars.rs @@ -6,10 +6,4 @@ fn main() { //~^ 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 } diff --git a/tests/ui/parser/unicode-chars.stderr b/tests/ui/parser/unicode-chars.stderr index 93ac5ec14be..b1d4a0af711 100644 --- a/tests/ui/parser/unicode-chars.stderr +++ b/tests/ui/parser/unicode-chars.stderr @@ -21,38 +21,5 @@ help: Unicode character ' ' (No-Break Space) looks like ' ' (Space), but it is LL | let x = 0; | ++++ -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 +error: aborting due to 2 previous errors |
