]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/methods/method-call-lifetime-args.rs
4 fn late
<'a
, 'b
>(self, _
: &'a
u8, _
: &'b
u8) {}
5 fn late_implicit(self, _
: &u8, _
: &u8) {}
9 S
::late
::<'
static>(S
, &0, &0);
10 //~^ ERROR cannot specify lifetime arguments explicitly
11 S
::late_implicit
::<'
static>(S
, &0, &0);
12 //~^ ERROR cannot specify lifetime arguments explicitly