]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/byte-string-literals.stderr
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / byte-string-literals.stderr
1 error: unknown byte escape: f
2   --> $DIR/byte-string-literals.rs:1:32
3    |
4 LL | static FOO: &'static [u8] = b"\f";
5    |                                ^ unknown byte escape
6
7 error: unknown byte escape: f
8   --> $DIR/byte-string-literals.rs:4:8
9    |
10 LL |     b"\f";
11    |        ^ unknown byte escape
12
13 error: invalid character in numeric character escape: Z
14   --> $DIR/byte-string-literals.rs:5:10
15    |
16 LL |     b"\x0Z";
17    |          ^
18
19 error: byte constant must be ASCII. Use a \xHH escape for a non-ASCII byte
20   --> $DIR/byte-string-literals.rs:6:7
21    |
22 LL |     b"é";
23    |       ^
24
25 error[E0766]: unterminated double quote byte string
26   --> $DIR/byte-string-literals.rs:7:6
27    |
28 LL |       b"a
29    |  ______^
30 LL | | }
31    | |__^
32
33 error: aborting due to 5 previous errors
34
35 For more information about this error, try `rustc --explain E0766`.