2019-06-10 10:32:15 -05:00
|
|
|
error: bare CR not allowed in raw string
|
2019-05-13 13:21:44 -05:00
|
|
|
--> $DIR/raw-byte-string-literals.rs:4:9
|
|
|
|
|
|
|
|
|
LL | br"a
";
|
|
|
|
| ^
|
|
|
|
|
2022-11-02 23:17:37 -05:00
|
|
|
error: non-ASCII character in raw byte string literal
|
2019-05-13 13:21:44 -05:00
|
|
|
--> $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"é";
|
2021-01-23 14:48:31 -06:00
|
|
|
| ^ must be ASCII
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
error: found invalid character; only `#` is allowed in raw string delimitation: ~
|
2019-05-06 03:53:40 -05:00
|
|
|
--> $DIR/raw-byte-string-literals.rs:6:5
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | br##~"a"~##;
|
2019-05-06 03:53:40 -05:00
|
|
|
| ^^^^^
|
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
|
|
|
|