mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
10 lines
152 B
Rust
10 lines
152 B
Rust
// ignore-tidy-file-tab
|
|
|
|
fn main() {
|
|
let some_vec = vec!["hi"];
|
|
some_vec.into_iter();
|
|
{
|
|
println!("{:?}", some_vec); //~ ERROR borrow of moved
|
|
}
|
|
}
|