]>
Commit | Line | Data |
---|---|---|
cdc7bbd5 XL |
1 | error[E0308]: mismatched types |
2 | --> $DIR/issue-84128.rs:13:13 | |
3 | | | |
4 | LL | Foo(()) | |
923072b8 FG |
5 | | --- ^^ expected integer, found `()` |
6 | | | | |
7 | | arguments to this struct are incorrect | |
cdc7bbd5 | 8 | | |
923072b8 FG |
9 | note: tuple struct defined here |
10 | --> $DIR/issue-84128.rs:5:8 | |
11 | | | |
12 | LL | struct Foo<T>(T); | |
13 | | ^^^ | |
cdc7bbd5 XL |
14 | |
15 | error: aborting due to previous error | |
16 | ||
17 | For more information about this error, try `rustc --explain E0308`. |