]>
Commit | Line | Data |
---|---|---|
e74abb32 | 1 | error: the `min` method cannot be invoked on a trait object |
ba9703b0 | 2 | --> $DIR/imm-ref-trait-object.rs:2:8 |
e74abb32 XL |
3 | | |
4 | LL | t.min().unwrap() | |
5 | | ^^^ | |
94222f64 | 6 | | |
3dfed10e | 7 | ::: $SRC_DIR/core/src/iter/traits/iterator.rs:LL:COL |
74b04a01 XL |
8 | | |
9 | LL | Self: Sized, | |
10 | | ----- this has a `Sized` requirement | |
e74abb32 | 11 | | |
1b1a35ee | 12 | = note: you need `&mut dyn Iterator<Item = &u64>` instead of `&dyn Iterator<Item = &u64>` |
e74abb32 XL |
13 | |
14 | error: aborting due to previous error | |
15 |