mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
13 lines
425 B
Rust
13 lines
425 B
Rust
// ignore-tidy-tab
|
|
|
|
static FOO: 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 byte constant must be escaped
|
|
b'''; //~ ERROR byte constant must be escaped
|
|
b'é'; //~ ERROR non-ASCII character in byte literal
|
|
b'a //~ ERROR unterminated byte constant [E0763]
|
|
}
|