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