]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-48364.stderr
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-48364.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-48364.rs:2:21
3    |
4 LL |     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 the macro `stringify` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0308`.