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