]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/method-missing-parentheses.rs
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[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 }