]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/user-annotations/method-ufcs-inherent-1.rs
1 // Check that substitutions given on the self type (here, `A`) carry
4 struct A
<'a
> { x: &'a u32 }
7 fn new
<'b
, T
>(x
: &'a
u32, y
: T
) -> Self {
14 let x
= A
::<'a
>::new(&v
, 22);