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

29 lines
575 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: character constant must be escaped: '
2018-12-25 09:56:47 -06:00
--> $DIR/bad-char-literals.rs:7:6
2018-10-20 15:36:17 -05:00
|
LL | ''';
| ^
error: character constant must be escaped: /n
2018-12-25 09:56:47 -06:00
--> $DIR/bad-char-literals.rs:11:6
2018-10-20 15:36:17 -05:00
|
LL | '
| ______^
LL | | ';
| |_
error: character constant must be escaped: /r
2018-12-25 09:56:47 -06:00
--> $DIR/bad-char-literals.rs:16:6
2018-10-20 15:36:17 -05:00
|
LL | ' '; //~ ERROR: character constant must be escaped: /r
| ^
error: character constant must be escaped: /t
2018-12-25 09:56:47 -06:00
--> $DIR/bad-char-literals.rs:19:6
2018-10-20 15:36:17 -05:00
|
LL | ' ';
| ^^^^
error: aborting due to 4 previous errors