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