mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-03 01:08:18 +00:00
12 lines
198 B
Rust
12 lines
198 B
Rust
// compile-flags: -Cpanic=unwind --crate-type=lib
|
|
// no-prefer-dynamic
|
|
// edition:2021
|
|
|
|
#![feature(coroutines)]
|
|
pub fn run<T>(a: T) {
|
|
let _ = move || {
|
|
drop(a);
|
|
yield;
|
|
};
|
|
}
|