rust/src/test/ui/parser/lex-bad-char-literals-1.stderr

27 lines
696 B
Plaintext
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: numeric character escape is too short
2018-12-25 08:56:47 -07:00
--> $DIR/lex-bad-char-literals-1.rs:3:8
2018-10-20 23:36:17 +03:00
|
LL | '/x1' //~ ERROR: numeric character escape is too short
| ^
error: numeric character escape is too short
2018-12-25 08:56:47 -07:00
--> $DIR/lex-bad-char-literals-1.rs:7:8
2018-10-20 23:36:17 +03:00
|
LL | "/x1" //~ ERROR: numeric character escape is too short
| ^
error: unknown character escape: /u{25cf}
2018-12-25 08:56:47 -07:00
--> $DIR/lex-bad-char-literals-1.rs:11:7
2018-10-20 23:36:17 +03:00
|
LL | '/●' //~ ERROR: unknown character escape
| ^
error: unknown character escape: /u{25cf}
2018-12-25 08:56:47 -07:00
--> $DIR/lex-bad-char-literals-1.rs:15:7
2018-10-20 23:36:17 +03:00
|
LL | "/●" //~ ERROR: unknown character escape
| ^
error: aborting due to 4 previous errors