mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00

For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
19 lines
605 B
Plaintext
19 lines
605 B
Plaintext
error: invalid format string: unmatched `}` found
|
|
--> $DIR/format-expanded-string.rs:19:13
|
|
|
|
|
LL | format!(concat!("abc}"));
|
|
| ^^^^^^^^^^^^^^^ unmatched `}` in format string
|
|
|
|
|
= note: if you intended to print `}`, you can escape it using `}}`
|
|
|
|
error: invalid format string: unmatched `}` found
|
|
--> $DIR/format-expanded-string.rs:22:34
|
|
|
|
|
LL | format!(err_with_input_span!(""));
|
|
| ^^ unmatched `}` in format string
|
|
|
|
|
= note: if you intended to print `}`, you can escape it using `}}`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|