fork/rust

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

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

master
594 B12 linesraw
1error: there is no argument named `x`
2  --> $DIR/format-args-capture-from-pm-first-arg-macro.rs:6:5
3   |
4LL |     format_string_proc_macro::bad_format_args_captures!();
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: did you intend to capture a variable `x` from the surrounding scope?
8   = note: to avoid ambiguity, `format_args!` cannot capture variables when the format string is expanded from a macro
9   = note: this error originates in the macro `concat` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11error: aborting due to previous error
12