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