fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
488 B13 linesraw
1error[E0308]: mismatched types
2  --> $DIR/issue-48364.rs:2:21
3   |
4LL |     b"".starts_with(stringify!(foo))
5   |                     ^^^^^^^^^^^^^^^ expected slice `[u8]`, found `str`
6   |
7   = note: expected reference `&[u8]`
8              found reference `&'static str`
9   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0308`.