summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/raw/raw-byte-string-literals.stderr
blob: cfc877104bd9f37b3857cec8a7cb5fbe0f2c1fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: bare CR not allowed in raw string
  --> $DIR/raw-byte-string-literals.rs:4:9
   |
LL |     br"a
";
   |         ^

error: raw byte string must be ASCII
  --> $DIR/raw-byte-string-literals.rs:5:8
   |
LL |     br"é";
   |        ^ must be ASCII

error: found invalid character; only `#` is allowed in raw string delimitation: ~
  --> $DIR/raw-byte-string-literals.rs:6:5
   |
LL |     br##~"a"~##;
   |     ^^^^^

error: aborting due to 3 previous errors