1error: character literal may only contain one codepoint
2  --> $DIR/issue-64732.rs:3:16
3   |
4LL |     let _foo = b'hello\0';
5   |                ^^^^^^^^^^
6   |
7help: if you meant to write a byte string literal, use double quotes
8   |
9LL |     let _foo = b"hello\0";
10   |                ~~~~~~~~~~
11
12error: character literal may only contain one codepoint
13  --> $DIR/issue-64732.rs:6:16
14   |
15LL |     let _bar = 'hello';
16   |                ^^^^^^^
17   |
18help: if you meant to write a `str` literal, use double quotes
19   |
20LL |     let _bar = "hello";
21   |                ~~~~~~~
22
23error: aborting due to 2 previous errors
24
25