1 struct Foo<'a, T: 'a>(&'a T);
3 struct Bar<'a>(&'a ());
6 Foo::<'static, 'static, ()>(&0); //~ ERROR wrong number of lifetime arguments
7 //~^ ERROR mismatched types
9 Bar::<'static, 'static, ()>(&()); //~ ERROR wrong number of lifetime arguments
10 //~^ ERROR wrong number of type arguments