1 error[E0505]: cannot move out of `a` because it is borrowed
2 --> $DIR/drop-with-active-borrows-1.rs:4:10
4 LL | let b: Vec<&str> = a.lines().collect();
5 | --------- borrow of `a` occurs here
7 | ^ move out of `a` occurs here
9 | -- borrow later used here
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0505`.