index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
generator
/
yield-in-function.rs
blob: 29b811621de1efecb5d6472f9b20b7f7a88cb32b (
plain
)
1
2
3
4
#![feature(generators)]
fn
main
()
{
yield
;
}
//~^ ERROR yield expression outside