fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
454 B15 linesraw
1error: the `min` method cannot be invoked on a trait object
2  --> $DIR/imm-ref-trait-object.rs:2:8
3   |
4LL |      t.min().unwrap()
5   |        ^^^
6   | 
7  ::: $SRC_DIR/libcore/iter/traits/iterator.rs:LL:COL
8   |
9LL |         Self: Sized,
10   |               ----- this has a `Sized` requirement
11   |
12   = note: you need `&mut dyn std::iter::Iterator<Item = &u64>` instead of `&dyn std::iter::Iterator<Item = &u64>`
13
14error: aborting due to previous error
15