rust/tests/ui/parser/raw/raw-byte-string-literals.rs
2023-01-11 09:32:08 +00:00

8 lines
238 B
Rust

// ignore-tidy-cr
pub fn main() {
br"a
"; //~ ERROR bare CR not allowed in raw string
br"é"; //~ ERROR non-ASCII character in raw byte string literal
br##~"a"~##; //~ ERROR only `#` is allowed in raw string delimitation
}