Sign in
android
/
toolchain
/
rustc
/
951ae7a5eefab93734d1309f0497487f13f59fbf
/
.
/
tests
/
ui
/
generator
/
drop-tracking-yielding-in-match-guards.rs
blob: 92e0136d51b15596d3c1b1bc8c3166bec9f5be00 [
file
] [
log
] [
blame
]
// build-pass
// edition:2018
#![
feature
(
generators
)]
fn
main
()
{
let
_
=
static
|
x
:
u8
|
match
x
{
y
if
{
yield
}
==
y
+
1
=>
(),
_
=>
(),
};
}