fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: invalid format string: unmatched `}` found 2 --> $DIR/format-expanded-string.rs:19:13 3 | 4LL | format!(concat!("abc}")); 5 | ^^^^^^^^^^^^^^^ unmatched `}` in format string 6 | 7 = note: if you intended to print `}`, you can escape it using `}}` 8 = note: this error originates in the macro `concat` (in Nightly builds, run with -Z macro-backtrace for more info) 9 10error: invalid format string: unmatched `}` found 11 --> $DIR/format-expanded-string.rs:22:34 12 | 13LL | format!(err_with_input_span!("")); 14 | ^^ unmatched `}` in format string 15 | 16 = note: if you intended to print `}`, you can escape it using `}}` 17 18error: aborting due to 2 previous errors 19