1 error[E0308]: mismatched types
2 --> $DIR/dont-suggest-deref-inside-macro-issue-58298.rs:11:5
4 LL | / intrinsic_match! {
7 | |_____^ expected `&str`, found struct `String`
9 = note: this error originates in the macro `format` which comes from the expansion of the macro `intrinsic_match` (in Nightly builds, run with -Z macro-backtrace for more info)
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0308`.