]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/method-missing-parentheses.rs
Auto merge of #105457 - GuillaumeGomez:prevent-auto-blanket-impl-retrieval, r=notriddle
[rust.git] / src / test / ui / suggestions / method-missing-parentheses.rs
1 fn main() {
2     let _ = vec![].into_iter().collect::<usize>;
3     //~^ ERROR attempted to take value of method `collect` on type `std::vec::IntoIter<_>`
4     //~| ERROR field expressions cannot have generic arguments
5 }