rust/src/test/ui/generator/too-many-parameters.rs

8 lines
122 B
Rust
Raw Normal View History

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