rust/tests/ui/generator/too-many-parameters.rs
2023-01-11 09:32:08 +00:00

9 lines
132 B
Rust

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