]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/bad-char-literals.stderr
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / parser / bad-char-literals.stderr
1 error: character constant must be escaped: `'`
2   --> $DIR/bad-char-literals.rs:6:6
3    |
4 LL |     ''';
5    |      ^ help: escape the character: `\'`
6
7 error: character constant must be escaped: `\n`
8   --> $DIR/bad-char-literals.rs:10:6
9    |
10 LL |       '
11    |  ______^
12 LL | | ';
13    | |_ help: escape the character: `\n`
14
15 error: character constant must be escaped: `\r`
16   --> $DIR/bad-char-literals.rs:15:6
17    |
18 LL |     '\r';
19    |      ^ help: escape the character: `\r`
20
21 error: character constant must be escaped: `\t`
22   --> $DIR/bad-char-literals.rs:18:6
23    |
24 LL |     '    ';
25    |      ^^^^ help: escape the character: `\t`
26
27 error: aborting due to 4 previous errors
28