1 error[E0621]: explicit lifetime required in the type of `x`
2 --> $DIR/issue-46983.rs:14:5
4 LL | fn foo(x: &u32) -> &'static u32 {
5 | - consider changing the type of `x` to `&'static u32`
7 | ^^^ lifetime `'static` required
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0621`.