summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/raw-byte-string-prefix.rs
blob: 576561c315ce91c97203b7a1587f6d1dd6949bc5 (plain)
1
2
3
4
5
6
7
8
9
10
// `br` and `rb` are easy to confuse; check that we issue a suggestion to help.

// edition:2021

fn main() {
    rb"abc";
    //~^ ERROR: prefix `rb` is unknown
    //~| HELP: use `br` for a raw byte string
    //~| ERROR: expected one of
}