fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0597]: `arg` does not live long enough 2 --> $DIR/issue-74050-end-span.rs:5:19 3 | 4LL | let _arg = match args.next() { 5 | ---- borrow later stored here 6LL | Some(arg) => { 7 | --- binding `arg` declared here 8LL | match arg.to_str() { 9 | ^^^ borrowed value does not live long enough 10... 11LL | } 12 | - `arg` dropped here while still borrowed 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0597`.