]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/imm-ref-trait-object.rs
1 fn test(t
: &dyn Iterator
<Item
=&u64>) -> u64 {
2 t
.min().unwrap() //~ ERROR the `min` method cannot be invoked on a trait object
7 test(&mut array
.iter());