fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0597]: `line` does not live long enough 2 --> $DIR/issue-52126-assign-op-invariance.rs:34:28 3 | 4LL | let v: Vec<&str> = line.split_whitespace().collect(); 5 | ^^^^ borrowed value does not live long enough 6... 7LL | acc += cnt2; 8 | --- borrow later used here 9... 10LL | } 11 | - `line` dropped here while still borrowed 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0597`.