```
error[E0308]: mismatched types
--> $DIR/macro-span-caller-replacement.rs:5:17
|
LL | s = format!("{arg}");
| ^^^^^^^^^^^^^^^^ expected `&str`, found `String`
...
LL | macro_with_format!();
| -------------------- in this macro invocation
|
= note: this error originates in the macro `format` which comes from the expansion of the macro `macro_with_format` (in Nightly builds, run with -Z macro-backtrace for more info)
```
|
||
|---|---|---|
| .. | ||
| bad-builder.rs | ||
| bad-builder.stderr | ||
| ufcs-explicit-self-bad.rs | ||
| ufcs-explicit-self-bad.stderr | ||
| ufcs-partially-resolved.rs | ||
| ufcs-partially-resolved.stderr | ||
| ufcs-polymorphic-paths.rs | ||
| ufcs-qpath-missing-params.rs | ||
| ufcs-qpath-missing-params.stderr | ||
| ufcs-qpath-self-mismatch.rs | ||
| ufcs-qpath-self-mismatch.stderr | ||