rust/tests/ui/generator/issue-91477.rs

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

8 lines
95 B
Rust
Raw Normal View History

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