Sign in
fuchsia
/
third_party
/
rust
/
6e1d94708a0a4a35ca7e46c6cac98adf62fe800e
/
.
/
tests
/
ui
/
coroutine
/
missing_coroutine_attr_suggestion.rs
blob: dc9525914960932d8c5425ae73bb18fd55957787 [
file
] [
log
] [
blame
]
//@ run-rustfix
#![
feature
(
coroutines
,
gen_blocks
,
stmt_expr_attributes
)]
fn
main
()
{
let
_
=
||
yield
;
//~^ ERROR `yield` can only be used
}