← Quit0 / 0 correct
Does this compile (Rust 2018+ with non-lexical lifetimes)?
let mut s = String::new();
let r = &s;
println!("{r}");
s.push('a');Does this compile (Rust 2018+ with non-lexical lifetimes)?
let mut s = String::new();
let r = &s;
println!("{r}");
s.push('a');