1 error: there is no argument named `foo`
2 --> $DIR/feature-gate-format-args-capture.rs:2:14
7 = help: if you intended to capture `foo` from the surrounding scope, add `#![feature(format_args_capture)]` to the crate attributes
9 error: there is no argument named `foo`
10 --> $DIR/feature-gate-format-args-capture.rs:5:13
12 LL | panic!("{foo} {bar}", bar=1);
15 = help: if you intended to capture `foo` from the surrounding scope, add `#![feature(format_args_capture)]` to the crate attributes
17 error: aborting due to 2 previous errors