1 error[E0308]: mismatched types
2 --> $DIR/mismatch.rs:12:28
4 LL | let e: Example::<13> = ();
5 | ------------- ^^ expected struct `Example`, found `()`
9 = note: expected struct `Example`
12 error[E0308]: mismatched types
13 --> $DIR/mismatch.rs:15:34
15 LL | let e: Example2::<u32, 13> = ();
16 | ------------------- ^^ expected struct `Example2`, found `()`
18 | expected due to this
20 = note: expected struct `Example2`
23 error[E0308]: mismatched types
24 --> $DIR/mismatch.rs:18:34
26 LL | let e: Example3::<13, u32> = ();
27 | ------------------- ^^ expected struct `Example3`, found `()`
29 | expected due to this
31 = note: expected struct `Example3`
34 error[E0308]: mismatched types
35 --> $DIR/mismatch.rs:21:28
37 LL | let e: Example3::<7> = ();
38 | ------------- ^^ expected struct `Example3`, found `()`
40 | expected due to this
42 = note: expected struct `Example3<7_usize>`
45 error[E0308]: mismatched types
46 --> $DIR/mismatch.rs:24:28
48 LL | let e: Example4::<7> = ();
49 | ------------- ^^ expected struct `Example4`, found `()`
51 | expected due to this
53 = note: expected struct `Example4<7_usize>`
56 error: aborting due to 5 previous errors
58 For more information about this error, try `rustc --explain E0308`.