Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
generator
/
yield-in-const.rs
blob: fe5ca822ceca1ce39e09cb24b9b9a24aa3e34817 [
file
] [
log
] [
blame
]
#![
feature
(
generators
)]
const
A
:
u8
=
{
yield
3u8
;
3u8
};
//~^ ERROR yield expression outside
fn
main
()
{}