diff options
Diffstat (limited to 'tests/ui/parser/char/whitespace-character-literal.stderr')
| -rw-r--r-- | tests/ui/parser/char/whitespace-character-literal.stderr | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/ui/parser/char/whitespace-character-literal.stderr b/tests/ui/parser/char/whitespace-character-literal.stderr index 3bd048f8f62..f273b5d61d5 100644 --- a/tests/ui/parser/char/whitespace-character-literal.stderr +++ b/tests/ui/parser/char/whitespace-character-literal.stderr @@ -2,15 +2,17 @@ error: character literal may only contain one codepoint --> $DIR/whitespace-character-literal.rs:5:30 | LL | let _hair_space_around = ' x'; - | ^--^ - | | - | help: consider removing the non-printing characters: `x` + | ^^^^ | note: there are non-printing characters, the full sequence is `\u{200a}x\u{200b}` --> $DIR/whitespace-character-literal.rs:5:31 | LL | let _hair_space_around = ' x'; | ^^ +help: consider removing the non-printing characters + | +LL | let _hair_space_around = 'x'; + | ~ error: aborting due to 1 previous error |
