3 #![feature(arbitrary_self_types)]
4 #![allow(non_snake_case)]
14 impl Trait for Struct {
15 type AssocType = Self;
19 fn assoc(self: <Struct as Trait>::AssocType, f: &u32) -> &u32 {
23 fn box_AssocType(self: Box<<Struct as Trait>::AssocType>, f: &u32) -> &u32 {
27 fn rc_AssocType(self: Rc<<Struct as Trait>::AssocType>, f: &u32) -> &u32 {
31 fn box_box_AssocType(self: Box<Box<<Struct as Trait>::AssocType>>, f: &u32) -> &u32 {
35 fn box_rc_AssocType(self: Box<Rc<<Struct as Trait>::AssocType>>, f: &u32) -> &u32 {