]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/generic/generic-arg-mismatch-recover.rs
1 struct Foo
<'a
, T
: 'a
>(&'a T
);
3 struct Bar
<'a
>(&'
a ());
6 Foo
::<'
static, '
static, ()>(&0); //~ ERROR wrong number of lifetime arguments
8 Bar
::<'
static, '
static, ()>(&()); //~ ERROR wrong number of lifetime arguments
9 //~^ ERROR wrong number of type arguments