summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/raw/raw-byte-string-literals.stderr
blob: a2f27d1ed70aee56808edb7302ebad643bcf94f9 (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: non-ASCII character in raw byte string literal
  --> $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