Skip to content

Commit 7896e94

Browse files
committed
Fix failing test case
1 parent 0031807 commit 7896e94

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

tests/ui/parser/byte-literals.stderr

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,10 @@ error: non-ASCII character in byte literal
4646
--> $DIR/byte-literals.rs:10:7
4747
|
4848
LL | b'é';
49-
| ^ must be ASCII
50-
|
51-
help: if you meant to use the unicode code point for 'é', use a \xHH escape
52-
|
53-
LL - b'é';
54-
LL + b'\xE9';
55-
|
49+
| ^
50+
| |
51+
| must be ASCII
52+
| this multibyte character does not fit into a single byte
5653

5754
error[E0763]: unterminated byte constant
5855
--> $DIR/byte-literals.rs:11:6

0 commit comments

Comments
 (0)