mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-29 06:53:42 +00:00
12 lines
170 B
Rust
12 lines
170 B
Rust
// build-pass
|
|
// edition:2018
|
|
|
|
#![feature(coroutines)]
|
|
|
|
fn main() {
|
|
let _ = static |x: u8| match x {
|
|
y if { yield } == y + 1 => (),
|
|
_ => (),
|
|
};
|
|
}
|