rust/src/test/ui/codemap_tests/tab_3.rs

10 lines
144 B
Rust
Raw Normal View History

// ignore-tidy-tab
fn main() {
let some_vec = vec!["hi"];
some_vec.into_iter();
{
2017-11-20 06:13:27 -06:00
println!("{:?}", some_vec); //~ ERROR use of moved
}
}