]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/method-missing-parentheses.rs
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20
[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 }