rust/tests/ui/lint/must_not_suspend/tuple-mismatch.rs

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

10 lines
162 B
Rust
Raw Normal View History

2023-10-19 16:46:28 -05:00
#![feature(coroutines)]
fn main() {
2023-10-19 16:46:28 -05:00
let _coroutine = || {
yield ((), ((), ()));
yield ((), ());
//~^ ERROR mismatched types
};
}