2014-06-07 09:32:01 -05:00
|
|
|
static FOO: &'static [u8] = b"\f"; //~ ERROR unknown byte escape
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
b"\f"; //~ ERROR unknown byte escape
|
2021-01-23 14:48:31 -06:00
|
|
|
b"\x0Z"; //~ ERROR invalid character in numeric character escape: `Z`
|
|
|
|
b"é"; //~ ERROR non-ASCII character in byte constant
|
|
|
|
br##"é"##; //~ ERROR raw byte string must be ASCII
|
2014-06-07 09:32:01 -05:00
|
|
|
b"a //~ ERROR unterminated double quote byte string
|
|
|
|
}
|