1 error: unsatisfied lifetime constraints
2 --> $DIR/mir_check_cast_reify.rs:46:25
4 LL | fn bar<'a>(x: &'a u32) -> &'static u32 {
5 | -- lifetime `'a` defined here
7 LL | let f: fn(_) -> _ = foo;
8 | ^^^ cast requires that `'a` must outlive `'static`
10 error: aborting due to previous error