2 // FIXME(#54943) This test targets the scenario where proving the WF requirements of a user
3 // type annotation requires checking dead code. This test should actually fail to compile.
8 fn foo<T: 'static>() { }
13 let x = foo::<&'a u32>();
14 //~^ ERROR the type `&'a u32` does not fulfill the required lifetime [E0477]