error[E0628]: too many parameters for a generator (expected 0 or 1 parameters) --> $DIR/too-many-parameters.rs:4:5 | LL | |(), ()| { | ^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0628`.