error[E0271]: expected `Drain<'_, {integer}>` to be an iterator that yields `SetUnion>`, but it yields `{integer}` --> tests/compile-fail/surface_lattice_reduce_wronggeneric.rs:5:9 | 5 | source_iter([1,2,3,4,5]) | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `SetUnion>`, found integer 6 | -> lattice_reduce::<'static, hydroflow::lattices::set_union::SetUnionHashSet>() | ---------------------------------------------------- required by a bound introduced by this call | = note: expected struct `SetUnion>` found type `{integer}` note: required by a bound in `check_inputs` --> tests/compile-fail/surface_lattice_reduce_wronggeneric.rs:6:41 | 6 | -> lattice_reduce::<'static, hydroflow::lattices::set_union::SetUnionHashSet>() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `check_inputs`