]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-51848.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-51848.stderr
1 error: invalid format string: expected `'}'` but string was terminated
2   --> $DIR/issue-51848.rs:6:20
3    |
4 LL |         println!("{");
5    |                   -^ expected `'}'` in format string
6    |                   |
7    |                   because of this opening brace
8 ...
9 LL |     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
15 error: invalid format string: unmatched `}` found
16   --> $DIR/issue-51848.rs:18:15
17    |
18 LL |     println!("}");
19    |               ^ unmatched `}` in format string
20    |
21    = note: if you intended to print `}`, you can escape it using `}}`
22
23 error: aborting due to 2 previous errors
24