1 error[E0308]: mismatched types
2 --> $DIR/issue-48364.rs:2:21
4 LL | b"".starts_with(stringify!(foo))
5 | ----------- ^^^^^^^^^^^^^^^ expected slice `[u8]`, found `str`
7 | arguments to this function are incorrect
9 = note: expected reference `&[u8]`
10 found reference `&'static str`
11 note: associated function defined here
12 --> $SRC_DIR/core/src/slice/mod.rs:LL:COL
14 LL | pub fn starts_with(&self, needle: &[T]) -> bool
16 = note: this error originates in the macro `stringify` (in Nightly builds, run with -Z macro-backtrace for more info)
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0308`.