1 2 3 4 5 6 7 8 9 10
fn foo<T: 'static>() { } fn boo<'a>() { return; let x = foo::<&'a u32>(); //~^ ERROR } fn main() {}