1 error[E0308]: mismatched types
2 --> $DIR/issue-84128.rs:13:13
5 | --- ^^ expected integer, found `()`
7 | arguments to this struct are incorrect
9 help: the type constructed contains `()` due to the type of the argument passed
10 --> $DIR/issue-84128.rs:13:9
15 | this argument influences the type of `Foo`
16 note: tuple struct defined here
17 --> $DIR/issue-84128.rs:5:8
19 LL | struct Foo<T>(T);
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0308`.