rust/tests/ui/codemap_tests/tab_3.rs
2023-01-11 09:32:08 +00:00

10 lines
147 B
Rust

// ignore-tidy-tab
fn main() {
let some_vec = vec!["hi"];
some_vec.into_iter();
{
println!("{:?}", some_vec); //~ ERROR borrow of moved
}
}