]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/imm-ref-trait-object.stderr
Rollup merge of #65276 - varkor:toolstate-no-ping, r=Mark-Simulacrum
[rust.git] / src / test / ui / suggestions / imm-ref-trait-object.stderr
1 error: the `min` method cannot be invoked on a trait object
2   --> $DIR/imm-ref-trait-object.rs:2:8
3    |
4 LL |      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
9 error: aborting due to previous error
10