2021-07-31 08:37:36 -05:00
|
|
|
error: prefix `rb` is unknown
|
|
|
|
--> $DIR/raw-byte-string-prefix.rs:6:5
|
|
|
|
|
|
|
|
|
LL | rb"abc";
|
|
|
|
| ^^ unknown prefix
|
|
|
|
|
|
|
|
|
= note: prefixed identifiers and literals are reserved since Rust 2021
|
|
|
|
help: use `br` for a raw byte string
|
|
|
|
|
|
|
|
|
LL | br"abc";
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~
|
2021-07-31 08:37:36 -05:00
|
|
|
|
|
|
|
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `"abc"`
|
|
|
|
--> $DIR/raw-byte-string-prefix.rs:6:7
|
|
|
|
|
|
|
|
|
LL | rb"abc";
|
|
|
|
| ^^^^^ expected one of 8 possible tokens
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|