rust/tests/ui/coroutine/issue-88653.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
505 B
Plaintext
Raw Normal View History

2023-10-19 16:46:28 -05:00
error[E0631]: type mismatch in coroutine arguments
--> $DIR/issue-88653.rs:8:22
|
2023-10-19 11:06:43 -05:00
LL | fn foo(bar: bool) -> impl Coroutine<(bool,)> {
2022-07-28 10:33:10 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^ expected due to this
...
2022-01-27 10:34:28 -06:00
LL | |bar| {
2022-07-28 10:33:10 -05:00
| ----- found signature defined here
|
2023-10-19 16:46:28 -05:00
= note: expected coroutine signature `fn((bool,)) -> _`
found coroutine signature `fn(bool) -> _`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0631`.