2 #![feature(arbitrary_self_types)]
7 fn trait_method<'a>(self: &'a Box<Rc<Self>>) -> &'a [i32];
10 impl Trait for Vec<i32> {
11 fn trait_method<'a>(self: &'a Box<Rc<Self>>) -> &'a [i32] {
19 assert_eq!(&[1,2,3], Box::new(Rc::new(v)).trait_method());