blob: c1fd7729bdefb6f3b36f739129321c7d4306b884 [file] [log] [blame]
fn foo(x: &u32) -> &'static u32 {
&*x
//~^ ERROR explicit lifetime required in the type of `x` [E0621]
}
fn main() {}