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