blob: b742c6e2f1c08b1c40c569c4f34e195d933a1ef6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0631]: type mismatch in generator arguments
--> $DIR/issue-88653.rs:8:22
|
LL | fn foo(bar: bool) -> impl Generator<(bool,)> {
| ^^^^^^^^^^^^^^^^^^^^^^^ expected due to this
...
LL | |bar| {
| ----- found signature defined here
|
= note: expected generator signature `fn((bool,)) -> _`
found generator signature `fn(bool) -> _`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0631`.
|