fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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