]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-64732.rs
Rollup merge of #91699 - jsha:webkit-appearance-search-input, r=GuillaumeGomez
[rust.git] / src / test / ui / parser / issues / issue-64732.rs
1 #![allow(unused)]
2 fn main() {
3     let _foo = b'hello\0';
4     //~^ ERROR character literal may only contain one codepoint
5     //~| HELP if you meant to write a byte string literal, use double quotes
6     let _bar = 'hello';
7     //~^ ERROR character literal may only contain one codepoint
8     //~| HELP if you meant to write a `str` literal, use double quotes
9 }