mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
10 lines
398 B
Rust
10 lines
398 B
Rust
static FOO: &'static [u8] = b"\f"; //~ ERROR unknown byte escape
|
|
|
|
pub fn main() {
|
|
b"\f"; //~ ERROR unknown byte escape
|
|
b"\x0Z"; //~ ERROR invalid character in numeric character escape: `Z`
|
|
b"é"; //~ ERROR non-ASCII character in byte string literal
|
|
br##"é"##; //~ ERROR non-ASCII character in raw byte string literal
|
|
b"a //~ ERROR unterminated double quote byte string
|
|
}
|