error: the `min` method cannot be invoked on `&dyn Iterator` --> $DIR/mutability-mismatch-arg.rs:3:9 | LL | *t.min().unwrap() | ^^^ | help: you need `&mut dyn Iterator` instead of `&dyn Iterator` | LL | fn test(t: &mut dyn Iterator) -> u64 { | +++ error: aborting due to previous error