fork/rust

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

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

master
844 B24 linesraw
1error: invalid format string: expected `'}'` but string was terminated
2  --> $DIR/issue-51848.rs:6:20
3   |
4LL |         println!("{");
5   |                   -^ expected `'}'` in format string
6   |                   |
7   |                   because of this opening brace
8...
9LL |     macro_with_error!();
10   |     ------------------- in this macro invocation
11   |
12   = note: if you intended to print `{`, you can escape it using `{{`
13   = note: this error originates in the macro `macro_with_error` (in Nightly builds, run with -Z macro-backtrace for more info)
14
15error: invalid format string: unmatched `}` found
16  --> $DIR/issue-51848.rs:18:15
17   |
18LL |     println!("}");
19   |               ^ unmatched `}` in format string
20   |
21   = note: if you intended to print `}`, you can escape it using `}}`
22
23error: aborting due to 2 previous errors
24