Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
fn gimme(x: &(u32,)) -> &u32 {
&x.0
}
fn main() {
let x = gimme({
let v = 22;
&(v,)
//~^ ERROR temporary value dropped while borrowed [E0716]
});
println!("{:?}", x);