summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generator/issue-91477.rs
blob: 6c027feb422d17f418c18f5bcd1a56408feff6e0 (plain)
1
2
3
4
5
6
7
#![feature(generators)]

fn foo() -> impl Sized {
    yield 1; //~ ERROR E0627
}

fn main() {}