1 struct Foo<'a, T: 'a>(&'a T);
3 struct Bar<'a>(&'a ());
6 Foo::<'static, 'static, ()>(&0);
7 //~^ ERROR this struct takes 1 lifetime argument but 2 lifetime arguments were supplied
9 Bar::<'static, 'static, ()>(&());
10 //~^ ERROR this struct takes 1 lifetime argument but 2 lifetime arguments were supplied
11 //~| ERROR this struct takes 0