1 error: the `min` method cannot be invoked on a trait object
2 --> $DIR/imm-ref-trait-object.rs:2:8
7 ::: $SRC_DIR/core/src/iter/traits/iterator.rs:LL:COL
10 | ----- this has a `Sized` requirement
12 = note: you need `&mut dyn Iterator<Item = &u64>` instead of `&dyn Iterator<Item = &u64>`
14 error: aborting due to previous error