fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
307 B10 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   = note: you need `&mut dyn std::iter::Iterator<Item = &u64>` instead of `&dyn std::iter::Iterator<Item = &u64>`
8
9error: aborting due to previous error
10