rust/src/test/ui/parser/lex-bad-char-literals-1.stderr
2018-12-25 21:08:33 -07:00

27 lines
696 B
Plaintext

error: numeric character escape is too short
--> $DIR/lex-bad-char-literals-1.rs:3:8
|
LL | '/x1' //~ ERROR: numeric character escape is too short
| ^
error: numeric character escape is too short
--> $DIR/lex-bad-char-literals-1.rs:7:8
|
LL | "/x1" //~ ERROR: numeric character escape is too short
| ^
error: unknown character escape: /u{25cf}
--> $DIR/lex-bad-char-literals-1.rs:11:7
|
LL | '/●' //~ ERROR: unknown character escape
| ^
error: unknown character escape: /u{25cf}
--> $DIR/lex-bad-char-literals-1.rs:15:7
|
LL | "/●" //~ ERROR: unknown character escape
| ^
error: aborting due to 4 previous errors