rust/tests/ui/coroutine/too-many-parameters.rs
2023-10-20 21:14:02 +00:00

9 lines
132 B
Rust

#![feature(coroutines)]
fn main() {
|(), ()| {
//~^ error: too many parameters for a coroutine
yield;
};
}