about summary refs log tree commit diff
path: root/tests/ui/fmt/respanned-literal-issue-106191.stderr
blob: 5c9e538aa0cff20318cef9322452ddb4608d6e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: invalid format string: expected `}` but string was terminated
  --> $DIR/respanned-literal-issue-106191.rs:6:65
   |
LL |     format_string_proc_macro::respan_to_invalid_format_literal!("¡");
   |                                                                 ^^^ expected `}` in format string
   |
   = note: if you intended to print `{`, you can escape it using `{{`

error: invalid format string: expected `}` but string was terminated
  --> $DIR/respanned-literal-issue-106191.rs:8:18
   |
LL |     format_args!(r#concat!("¡        {"));
   |                  ^^^^^^^^^^^^^^^^^^^^^^^ expected `}` in format string
   |
   = note: if you intended to print `{`, you can escape it using `{{`

error: aborting due to 2 previous errors