blob: ff0f97ea211dc86b61f578119ca37fce721ebcb2 [file] [log] [blame] [edit]
#![allow(unused)]
fn main() {
let _foo = b'hello\0';
//~^ ERROR character literal may only contain one codepoint
//~| HELP if you meant to write a byte string literal, use double quotes
let _bar = 'hello';
//~^ ERROR character literal may only contain one codepoint
//~| HELP if you meant to write a string literal, use double quotes
}