1 error[E0308]: mismatched types
2 --> $DIR/mismatch.rs:7:26
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:10:32
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:13:32
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:16:26
37 LL | let e: Example3<7> = ();
38 | ----------- ^^ expected struct `Example3`, found `()`
40 | expected due to this
42 = note: expected struct `Example3<7>`
45 error[E0308]: mismatched types
46 --> $DIR/mismatch.rs:19:26
48 LL | let e: Example4<7> = ();
49 | ----------- ^^ expected struct `Example4`, found `()`
51 | expected due to this
53 = note: expected struct `Example4<7>`
56 error: aborting due to 5 previous errors
58 For more information about this error, try `rustc --explain E0308`.