1 2 3 4 5 6 7
#![feature(generators)] fn foo() -> impl Sized { yield 1; //~ ERROR E0627 } fn main() {}