]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/raw-byte-string-prefix.rs
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / suggestions / raw-byte-string-prefix.rs
1 // `br` and `rb` are easy to confuse; check that we issue a suggestion to help.
2
3 // edition:2021
4
5 fn main() {
6     rb"abc";
7     //~^ ERROR: prefix `rb` is unknown
8     //~| HELP: use `br` for a raw byte string
9     //~| ERROR: expected one of
10 }