]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-64732.stderr
Auto merge of #79113 - andjo403:raw_vec_ptr, r=m-ou-se
[rust.git] / src / test / ui / issues / issue-64732.stderr
1 error: character literal may only contain one codepoint
2   --> $DIR/issue-64732.rs:3:17
3    |
4 LL |     let _foo = b'hello\0';
5    |                 ^^^^^^^^^
6    |
7 help: if you meant to write a byte string literal, use double quotes
8    |
9 LL |     let _foo = b"hello\0";
10    |                 ^^^^^^^^^
11
12 error: character literal may only contain one codepoint
13   --> $DIR/issue-64732.rs:6:16
14    |
15 LL |     let _bar = 'hello';
16    |                ^^^^^^^
17    |
18 help: if you meant to write a `str` literal, use double quotes
19    |
20 LL |     let _bar = "hello";
21    |                ^^^^^^^
22
23 error: aborting due to 2 previous errors
24