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