1 error: lifetime may not live long enough
2 --> $DIR/mir_check_cast_unsafe_fn.rs:9:14
4 LL | fn bar<'a>(input: &'a u32, f: fn(&'a u32) -> &'a u32) -> &'static u32 {
5 | -- lifetime `'a` defined here
7 LL | unsafe { g(input) }
8 | ^^^^^^^^ returning this value requires that `'a` must outlive `'static`
10 error: aborting due to previous error