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