]>
Commit | Line | Data |
---|---|---|
60c5eb7d | 1 | // check-pass |
c34b1796 AL |
2 | // pretty-expanded FIXME #23616 |
3 | ||
223e47cc | 4 | trait A { |
970d7e83 | 5 | fn a_method(&self); |
223e47cc LB |
6 | } |
7 | ||
8 | trait B: A { | |
970d7e83 | 9 | fn b_method(&self); |
223e47cc LB |
10 | } |
11 | ||
12 | trait C: B { | |
970d7e83 | 13 | fn c_method(&self) { |
223e47cc LB |
14 | self.a_method(); |
15 | } | |
16 | } | |
17 | ||
18 | pub fn main() {} |