]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generator/issue-88653.stderr
Change inference var check to be in project_type
[rust.git] / src / test / ui / generator / issue-88653.stderr
1 error[E0631]: type mismatch in generator arguments
2   --> $DIR/issue-88653.rs:8:22
3    |
4 LL | fn foo(bar: bool) -> impl Generator<(bool,)> {
5    |                      ^^^^^^^^^^^^^^^^^^^^^^^ expected signature of `fn((bool,)) -> _`
6 ...
7 LL |     |bar| {
8    |     ----- found signature of `fn(bool) -> _`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0631`.