// ERROR:6:reference unit badretv; fn bad() -> &i32 { let x: i32 = 1; return &x; }