fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: named argument never used 2 --> $DIR/format-args-capture-missing-variables.rs:8:51 3 | 4LL | format!("{valuea} {valueb}", valuea=5, valuec=7); 5 | ------------------- ^ named argument never used 6 | | 7 | formatting specifier missing 8 9error[E0425]: cannot find value `foo` in this scope 10 --> $DIR/format-args-capture-missing-variables.rs:2:18 11 | 12LL | format!("{} {foo} {} {bar} {}", 1, 2, 3); 13 | ^^^ not found in this scope 14 15error[E0425]: cannot find value `bar` in this scope 16 --> $DIR/format-args-capture-missing-variables.rs:2:27 17 | 18LL | format!("{} {foo} {} {bar} {}", 1, 2, 3); 19 | ^^^ not found in this scope 20 21error[E0425]: cannot find value `foo` in this scope 22 --> $DIR/format-args-capture-missing-variables.rs:6:15 23 | 24LL | format!("{foo}"); 25 | ^^^ not found in this scope 26 27error[E0425]: cannot find value `valueb` in this scope 28 --> $DIR/format-args-capture-missing-variables.rs:8:24 29 | 30LL | format!("{valuea} {valueb}", valuea=5, valuec=7); 31 | ^^^^^^ not found in this scope 32 33error[E0425]: cannot find value `foo` in this scope 34 --> $DIR/format-args-capture-missing-variables.rs:14:10 35 | 36LL | {foo} 37 | ^^^ not found in this scope 38 39error[E0425]: cannot find value `foo` in this scope 40 --> $DIR/format-args-capture-missing-variables.rs:19:14 41 | 42LL | panic!("{foo} {bar}", bar=1); 43 | ^^^ not found in this scope 44 45error: aborting due to 7 previous errors 46 47For more information about this error, try `rustc --explain E0425`.