summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/must_not_suspend/tuple-mismatch.rs
blob: c7e14e4256138d9dbe3d6443a60f571e14119f4a (plain)
1
2
3
4
5
6
7
8
9
#![feature(generators)]

fn main() {
    let _generator = || {
        yield ((), ((), ()));
        yield ((), ());
        //~^ ERROR mismatched types
    };
}