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