fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: 3 positional arguments in format string, but there is 1 argument 2 --> $DIR/format-args-capture-issue-93378.rs:5:23 3 | 4LL | println!("{a} {b} {} {} {c} {}", c = "c"); 5 | ^^ ^^ ^^ --- 6 7error: 1 positional argument in format string, but no arguments were given 8 --> $DIR/format-args-capture-issue-93378.rs:9:26 9 | 10LL | println!("{a:.n$} {b:.*}"); 11 | ^^ this precision flag adds an extra required argument at position 0, which is why there is 1 argument expected 12 | 13 = note: positional arguments are zero-based 14 = note: for information about formatting flags, visit https://doc.rust-lang.org/std/fmt/index.html 15 16error: aborting due to 2 previous errors 17