]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/method-missing-parentheses.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / 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 }