1 // compile-flags: -Cmetadata=aux
6 fn deref<'a>(&'a self) -> &'a Self::Target;
9 pub trait Add<RHS = Self> {
12 fn add(self, rhs: RHS) -> Self::Output;
20 fn deref(&self) -> Self::Target;
23 pub trait Index<Idx: ?Sized> {
25 fn index(&self, index: Idx) -> &Self::Output;
28 pub trait IndexMut<Idx: ?Sized>: Index<Idx> {
29 fn index_mut(&mut self, index: Idx) -> &mut Self::Output;