fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: there is no argument named `x` 2 --> $DIR/unreachable-format-args.rs:13:5 3 | 4LL | unreachable!("x is {x} and y is {y}", y = 0); 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 `$crate::concat` which comes from the expansion of the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) 10 11error: aborting due to previous error 12