summary refs log tree commit diff
path: root/src/test/ui/issues/issue-46983.rs
blob: c1fd7729bdefb6f3b36f739129321c7d4306b884 (plain)
1
2
3
4
5
6
fn foo(x: &u32) -> &'static u32 {
    &*x
    //~^ ERROR explicit lifetime required in the type of `x` [E0621]
}

fn main() {}