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

15 lines
334 B
Text
Raw Normal View History

error: raw byte string must be ASCII: \u{e9}
2019-05-31 13:50:04 -07:00
--> $DIR/raw-byte-string-literals.rs:2:8
2018-10-20 23:36:17 +03:00
|
2019-03-09 15:03:44 +03:00
LL | br"é";
2018-10-20 23:36:17 +03:00
| ^
error: found invalid character; only `#` is allowed in raw string delimitation: ~
2019-05-31 13:50:04 -07:00
--> $DIR/raw-byte-string-literals.rs:3:6
2018-10-20 23:36:17 +03:00
|
2019-03-09 15:03:44 +03:00
LL | br##~"a"~##;
2018-10-20 23:36:17 +03:00
| ^^^
error: aborting due to 2 previous errors