]> git.proxmox.com Git - rustc.git/blob - src/test/ui/closures/issue-84128.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / closures / issue-84128.stderr
1 error[E0308]: mismatched types
2 --> $DIR/issue-84128.rs:13:13
3 |
4 LL | Foo(())
5 | --- ^^ expected integer, found `()`
6 | |
7 | arguments to this struct are incorrect
8 |
9 note: tuple struct defined here
10 --> $DIR/issue-84128.rs:5:8
11 |
12 LL | struct Foo<T>(T);
13 | ^^^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0308`.