```
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)
```
|
||
|---|---|---|
| .. | ||
| atomic-from-mut-not-available.alignment_matches.stderr | ||
| atomic-from-mut-not-available.alignment_mismatch.stderr | ||
| atomic-from-mut-not-available.rs | ||
| matches2021.rs | ||
| not-sync.rs | ||
| not-sync.stderr | ||
| raw-fat-ptr.rs | ||
| raw-fat-ptr.stderr | ||