|
1 | 1 | error: named argument never used
|
2 |
| - --> $DIR/format-args-capture-missing-variables.rs:10:51 |
| 2 | + --> $DIR/format-args-capture-missing-variables.rs:8:51 |
3 | 3 | |
|
4 | 4 | LL | format!("{valuea} {valueb}", valuea=5, valuec=7);
|
5 | 5 | | ------------------- ^ named argument never used
|
6 | 6 | | |
|
7 | 7 | | formatting specifier missing
|
8 | 8 |
|
9 | 9 | error[E0425]: cannot find value `foo` in this scope
|
10 |
| - --> $DIR/format-args-capture-missing-variables.rs:4:17 |
| 10 | + --> $DIR/format-args-capture-missing-variables.rs:2:17 |
11 | 11 | |
|
12 | 12 | LL | format!("{} {foo} {} {bar} {}", 1, 2, 3);
|
13 | 13 | | ^^^^^ not found in this scope
|
14 | 14 |
|
15 | 15 | error[E0425]: cannot find value `bar` in this scope
|
16 |
| - --> $DIR/format-args-capture-missing-variables.rs:4:26 |
| 16 | + --> $DIR/format-args-capture-missing-variables.rs:2:26 |
17 | 17 | |
|
18 | 18 | LL | format!("{} {foo} {} {bar} {}", 1, 2, 3);
|
19 | 19 | | ^^^^^ not found in this scope
|
20 | 20 |
|
21 | 21 | error[E0425]: cannot find value `foo` in this scope
|
22 |
| - --> $DIR/format-args-capture-missing-variables.rs:8:14 |
| 22 | + --> $DIR/format-args-capture-missing-variables.rs:6:14 |
23 | 23 | |
|
24 | 24 | LL | format!("{foo}");
|
25 | 25 | | ^^^^^ not found in this scope
|
26 | 26 |
|
27 | 27 | error[E0425]: cannot find value `valueb` in this scope
|
28 |
| - --> $DIR/format-args-capture-missing-variables.rs:10:23 |
| 28 | + --> $DIR/format-args-capture-missing-variables.rs:8:23 |
29 | 29 | |
|
30 | 30 | LL | format!("{valuea} {valueb}", valuea=5, valuec=7);
|
31 | 31 | | ^^^^^^^^ not found in this scope
|
32 | 32 |
|
33 | 33 | error[E0425]: cannot find value `foo` in this scope
|
34 |
| - --> $DIR/format-args-capture-missing-variables.rs:16:9 |
| 34 | + --> $DIR/format-args-capture-missing-variables.rs:14:9 |
35 | 35 | |
|
36 | 36 | LL | {foo}
|
37 | 37 | | ^^^^^ not found in this scope
|
38 | 38 |
|
39 | 39 | error[E0425]: cannot find value `foo` in this scope
|
40 |
| - --> $DIR/format-args-capture-missing-variables.rs:21:13 |
| 40 | + --> $DIR/format-args-capture-missing-variables.rs:19:13 |
41 | 41 | |
|
42 | 42 | LL | panic!("{foo} {bar}", bar=1);
|
43 | 43 | | ^^^^^ not found in this scope
|
|
0 commit comments