error[E0308]: mismatched types
- --> $DIR/issue-48364.rs:12:21
+ --> $DIR/issue-48364.rs:2:21
|
LL | b"".starts_with(stringify!(foo))
- | ^^^^^^^^^^^^^^^ expected slice, found str
+ | ^^^^^^^^^^^^^^^ expected slice `[u8]`, found str
|
- = note: expected type `&[u8]`
- found type `&'static str`
+ = note: expected reference `&[u8]`
+ found reference `&'static str`
error: aborting due to previous error