]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/bad-char-literals.stderr
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / 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    |      ^
6
7 error: character constant must be escaped: \n
8   --> $DIR/bad-char-literals.rs:10:6
9    |
10 LL |       '
11    |  ______^
12 LL | | ';
13    | |_
14
15 error: character constant must be escaped: \r
16   --> $DIR/bad-char-literals.rs:15:6
17    |
18 LL |     '\r';
19    |      ^
20
21 error: character constant must be escaped: \t
22   --> $DIR/bad-char-literals.rs:18:6
23    |
24 LL |     '    ';
25    |      ^^^^
26
27 error: aborting due to 4 previous errors
28