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
/
src
/
test
/
ui
/
generator
/
yield-in-function.rs
blob: b737d3b224035fb50908a9e5ef17640f6d43095d (
plain
)
1
2
3
4
#![feature(generators)]
fn
main
()
{
yield
;
}
//~^ ERROR yield statement outside