]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/raw-byte-string-prefix.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / suggestions / raw-byte-string-prefix.stderr
1 error: prefix `rb` is unknown
2   --> $DIR/raw-byte-string-prefix.rs:6:5
3    |
4 LL |     rb"abc";
5    |     ^^ unknown prefix
6    |
7    = note: prefixed identifiers and literals are reserved since Rust 2021
8 help: use `br` for a raw byte string
9    |
10 LL |     br"abc";
11    |     ~~
12
13 error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `"abc"`
14   --> $DIR/raw-byte-string-prefix.rs:6:7
15    |
16 LL |     rb"abc";
17    |       ^^^^^ expected one of 8 possible tokens
18
19 error: aborting due to 2 previous errors
20