rust/src/test/ui/parser/raw-byte-string-literals.rs

7 lines
196 B
Rust

// compile-flags: -Z continue-parse-after-error
pub fn main() {
br"é"; //~ ERROR raw byte string must be ASCII
br##~"a"~##; //~ ERROR only `#` is allowed in raw string delimitation
}