|
1 | 1 | error[E0308]: mismatched types
|
2 |
| - --> $DIR/mismatch.rs:11:26 |
| 2 | + --> $DIR/mismatch.rs:11:28 |
3 | 3 | |
|
4 |
| -LL | let e: Example::<13> = (); |
5 |
| - | ------------- ^^ expected struct `Example`, found `()` |
6 |
| - | | |
7 |
| - | expected due to this |
| 4 | +LL | let e: Example::<13> = (); |
| 5 | + | ------------- ^^ expected struct `Example`, found `()` |
| 6 | + | | |
| 7 | + | expected due to this |
8 | 8 |
|
9 | 9 | error[E0308]: mismatched types
|
10 |
| - --> $DIR/mismatch.rs:13:32 |
| 10 | + --> $DIR/mismatch.rs:13:34 |
11 | 11 | |
|
12 |
| -LL | let e: Example2::<u32, 13> = (); |
13 |
| - | ------------------- ^^ expected struct `Example2`, found `()` |
14 |
| - | | |
15 |
| - | expected due to this |
| 12 | +LL | let e: Example2::<u32, 13> = (); |
| 13 | + | ------------------- ^^ expected struct `Example2`, found `()` |
| 14 | + | | |
| 15 | + | expected due to this |
16 | 16 | |
|
17 | 17 | = note: expected struct `Example2`
|
18 | 18 | found unit type `()`
|
19 | 19 |
|
20 | 20 | error[E0308]: mismatched types
|
21 |
| - --> $DIR/mismatch.rs:15:32 |
| 21 | + --> $DIR/mismatch.rs:15:34 |
22 | 22 | |
|
23 |
| -LL | let e: Example3::<13, u32> = (); |
24 |
| - | ------------------- ^^ expected struct `Example3`, found `()` |
25 |
| - | | |
26 |
| - | expected due to this |
| 23 | +LL | let e: Example3::<13, u32> = (); |
| 24 | + | ------------------- ^^ expected struct `Example3`, found `()` |
| 25 | + | | |
| 26 | + | expected due to this |
27 | 27 | |
|
28 | 28 | = note: expected struct `Example3`
|
29 | 29 | found unit type `()`
|
30 | 30 |
|
31 | 31 | error[E0308]: mismatched types
|
32 |
| - --> $DIR/mismatch.rs:17:26 |
| 32 | + --> $DIR/mismatch.rs:17:28 |
33 | 33 | |
|
34 |
| -LL | let e: Example3::<7> = (); |
35 |
| - | ------------- ^^ expected struct `Example3`, found `()` |
36 |
| - | | |
37 |
| - | expected due to this |
| 34 | +LL | let e: Example3::<7> = (); |
| 35 | + | ------------- ^^ expected struct `Example3`, found `()` |
| 36 | + | | |
| 37 | + | expected due to this |
38 | 38 | |
|
39 | 39 | = note: expected struct `Example3<7_usize>`
|
40 | 40 | found unit type `()`
|
41 | 41 |
|
42 | 42 | error[E0308]: mismatched types
|
43 |
| - --> $DIR/mismatch.rs:21:26 |
| 43 | + --> $DIR/mismatch.rs:21:28 |
44 | 44 | |
|
45 |
| -LL | let e: Example4::<7> = (); |
46 |
| - | ------------- ^^ expected struct `Example4`, found `()` |
47 |
| - | | |
48 |
| - | expected due to this |
| 45 | +LL | let e: Example4::<7> = (); |
| 46 | + | ------------- ^^ expected struct `Example4`, found `()` |
| 47 | + | | |
| 48 | + | expected due to this |
49 | 49 |
|
50 | 50 | error: aborting due to 5 previous errors
|
51 | 51 |
|
|
0 commit comments