]>
Commit | Line | Data |
---|---|---|
476ff2be SL |
1 | pub trait X { |
2 | const CONSTANT: u32; | |
3 | type Type; | |
4 | fn method(&self, s: String) -> Self::Type; | |
ba9703b0 XL |
5 | fn method2(self: Box<Self>, s: String) -> Self::Type; |
6 | fn method3(other: &Self, s: String) -> Self::Type; | |
7 | fn method4(&self, other: &Self) -> Self::Type; | |
8 | fn method5(self: &Box<Self>) -> Self::Type; | |
223e47cc | 9 | } |