summary refs log tree commit diff
path: root/src/test/ui/suggestions/imm-ref-trait-object.stderr
blob: 9185eaa65c06d02a7f186b5a6604108614248105 (plain)
1
2
3
4
5
6
7
8
9
10
error: the `min` method cannot be invoked on a trait object
  --> $DIR/imm-ref-trait-object.rs:2:8
   |
LL |      t.min().unwrap()
   |        ^^^
   |
   = note: you need `&mut dyn std::iter::Iterator<Item = &u64>` instead of `&dyn std::iter::Iterator<Item = &u64>`

error: aborting due to previous error