rust/tests/ui/parser/bad-char-literals.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
665 B
Plaintext
Raw Normal View History

error: character constant must be escaped: `'`
2020-01-08 18:25:42 +00:00
--> $DIR/bad-char-literals.rs:6:6
2018-10-20 20:36:17 +00:00
|
LL | ''';
| ^ help: escape the character: `\'`
2018-10-20 20:36:17 +00:00
error: character constant must be escaped: `\n`
2020-01-08 18:25:42 +00:00
--> $DIR/bad-char-literals.rs:10:6
2018-10-20 20:36:17 +00:00
|
LL | '
| ______^
LL | | ';
| |_ help: escape the character: `\n`
2018-10-20 20:36:17 +00:00
error: character constant must be escaped: `\r`
2020-01-08 18:25:42 +00:00
--> $DIR/bad-char-literals.rs:15:6
2018-10-20 20:36:17 +00:00
|
2019-03-09 12:03:44 +00:00
LL | ' ';
| ^ help: escape the character: `\r`
2018-10-20 20:36:17 +00:00
error: character constant must be escaped: `\t`
2020-01-08 18:25:42 +00:00
--> $DIR/bad-char-literals.rs:18:6
2018-10-20 20:36:17 +00:00
|
LL | ' ';
| ^^^^ help: escape the character: `\t`
2018-10-20 20:36:17 +00:00
error: aborting due to 4 previous errors