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`
|
2022-11-02 23:17:37 -05:00
|
|
|
b"é"; //~ ERROR non-ASCII character in byte string literal
|
|
|
|
br##"é"##; //~ ERROR non-ASCII character in raw byte string literal
|
2014-06-07 09:32:01 -05:00
|
|
|
b"a //~ ERROR unterminated double quote byte string
|
|
|
|
}
|