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