fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: field expressions cannot have generic arguments 2 --> $DIR/method-missing-parentheses.rs:2:41 3 | 4LL | let _ = vec![].into_iter().collect::<usize>; 5 | ^^^^^^^ 6 7error[E0615]: attempted to take value of method `collect` on type `std::vec::IntoIter<_>` 8 --> $DIR/method-missing-parentheses.rs:2:32 9 | 10LL | let _ = vec![].into_iter().collect::<usize>; 11 | ^^^^^^^--------- 12 | | 13 | help: use parentheses to call the method: `collect::<usize>()` 14 15error: aborting due to 2 previous errors 16 17For more information about this error, try `rustc --explain E0615`.