1 error[E0515]: cannot return value referencing local variable `rawLines`
2 --> $DIR/issue-13497-2.rs:3:29
4 LL | rawLines.iter().map(|l| l.trim()).collect()
5 | --------------- ^^^^^^^^ returns a value referencing data owned by the current function
7 | `rawLines` is borrowed here
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0515`.