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