mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 01:30:40 +00:00
5 lines
154 B
Rust
5 lines
154 B
Rust
fn main() {
|
|
let _ = vec![].into_iter().collect::<usize>;
|
|
//~^ ERROR attempted to take value of method `collect` on type `std::vec::IntoIter<_>`
|
|
}
|