blob: 85722300bf0064160093dcb2d0676d551eedaf23 [file] [log] [blame]
fn foo<T: 'static>() { }
fn boo<'a>() {
return;
let x = foo::<&'a u32>();
//~^ ERROR
}
fn main() {}