blob: cc81214e2701b8dc7aad42ae247a5a9880bb00a3 [file] [log] [blame]
fn main() {
let mut args = std::env::args_os();
let _arg = match args.next() {
Some(arg) => {
match arg.to_str() {
//~^ ERROR `arg` does not live long enough
Some(s) => s,
None => return,
}
}
None => return,
};
}