]>
git.proxmox.com Git - rustc.git/blob - tests/ui/self/elision/assoc.rs
3 #![allow(non_snake_case)]
13 impl Trait
for Struct
{
14 type AssocType
= Self;
18 fn assoc(self: <Struct
as Trait
>::AssocType
, f
: &u32) -> &u32 {
22 fn box_AssocType(self: Box
<<Struct
as Trait
>::AssocType
>, f
: &u32) -> &u32 {
26 fn rc_AssocType(self: Rc
<<Struct
as Trait
>::AssocType
>, f
: &u32) -> &u32 {
30 fn box_box_AssocType(self: Box
<Box
<<Struct
as Trait
>::AssocType
>>, f
: &u32) -> &u32 {
34 fn box_rc_AssocType(self: Box
<Rc
<<Struct
as Trait
>::AssocType
>>, f
: &u32) -> &u32 {