rust/tests/ui/codemap_tests/tab_3.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
147 B
Rust
Raw Normal View History

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