]> git.lizzy.rs Git - rust.git/blob - tests/ui/closures/issue-84128.stderr
fix various subst_identity vs skip_binder
[rust.git] / tests / 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`.