1
Fork 0
rust/tests/ui/parser/raw/raw-byte-string-literals.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
238 B
Rust
Raw Normal View History

2019-05-13 20:21:44 +02:00
// ignore-tidy-cr
2020-01-08 21:25:42 +03:00
pub fn main() {
2019-06-10 17:32:15 +02:00
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
}