rust/src/test/ui/parser/raw-byte-string-literals.stderr

21 lines
460 B
Plaintext
Raw Normal View History

2019-05-13 13:21:44 -05:00
error: bare CR not allowed in string, use \r instead
--> $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
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | br"é";
2018-10-20 15:36:17 -05:00
| ^
error: found invalid character; only `#` is allowed in raw string delimitation: ~
2019-05-13 13:21:44 -05:00
--> $DIR/raw-byte-string-literals.rs:6:6
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | br##~"a"~##;
2018-10-20 15:36:17 -05:00
| ^^^
2019-05-13 13:21:44 -05:00
error: aborting due to 3 previous errors
2018-10-20 15:36:17 -05:00