fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
872 B19 linesraw
1error: invalid format string: expected `'}'` but string was terminated
2  --> $DIR/respanned-literal-issue-106191.rs:6:65
3   |
4LL |     format_string_proc_macro::respan_to_invalid_format_literal!("¡");
5   |                                                                 ^^^ expected `'}'` in format string
6   |
7   = note: if you intended to print `{`, you can escape it using `{{`
8
9error: invalid format string: expected `'}'` but string was terminated
10  --> $DIR/respanned-literal-issue-106191.rs:8:18
11   |
12LL |     format_args!(r#concat!("¡        {"));
13   |                  ^^^^^^^^^^^^^^^^^^^^^^^ expected `'}'` in format string
14   |
15   = note: if you intended to print `{`, you can escape it using `{{`
16   = note: this error originates in the macro `concat` (in Nightly builds, run with -Z macro-backtrace for more info)
17
18error: aborting due to 2 previous errors
19