1 error[E0308]: mismatched types
2 --> $DIR/generic-type-params-name-repr.rs:13:25
4 LL | let _: Foo<isize> = ();
5 | ---------- ^^ expected struct `Foo`, found `()`
9 = note: expected struct `Foo<isize>`
12 error[E0308]: mismatched types
13 --> $DIR/generic-type-params-name-repr.rs:20:31
15 LL | let _: Foo<isize, B, C> = ();
16 | ---------------- ^^ expected struct `Foo`, found `()`
18 | expected due to this
20 = note: expected struct `Foo<isize>`
23 error[E0308]: mismatched types
24 --> $DIR/generic-type-params-name-repr.rs:27:37
26 LL | let _: HashMap<String, isize> = ();
27 | ---------------------- ^^ expected struct `HashMap`, found `()`
29 | expected due to this
31 = note: expected struct `HashMap<String, isize>`
34 error[E0308]: mismatched types
35 --> $DIR/generic-type-params-name-repr.rs:32:51
37 LL | let _: HashMap<String, isize, Hash<String>> = ();
38 | ------------------------------------ ^^ expected struct `HashMap`, found `()`
40 | expected due to this
42 = note: expected struct `HashMap<String, isize>`
45 error[E0308]: mismatched types
46 --> $DIR/generic-type-params-name-repr.rs:39:31
48 LL | let _: Foo<A, isize, C> = ();
49 | ---------------- ^^ expected struct `Foo`, found `()`
51 | expected due to this
53 = note: expected struct `Foo<A, isize>`
56 error[E0308]: mismatched types
57 --> $DIR/generic-type-params-name-repr.rs:46:27
59 LL | let _: Foo<A, B, C> = ();
60 | ------------ ^^ expected struct `Foo`, found `()`
62 | expected due to this
64 = note: expected struct `Foo`
67 error: aborting due to 6 previous errors
69 For more information about this error, try `rustc --explain E0308`.