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