]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fmt/format-args-capture-macro-hygiene.rs
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / fmt / format-args-capture-macro-hygiene.rs
1 fn main() {
2     format!(concat!("{foo}"));         //~ ERROR: there is no argument named `foo`
3     format!(concat!("{ba", "r} {}"), 1);     //~ ERROR: there is no argument named `bar`
4 }