]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-3979-2.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / issues / issue-3979-2.rs
1 // check-pass
2 // pretty-expanded FIXME #23616
3
4 trait A {
5 fn a_method(&self);
6 }
7
8 trait B: A {
9 fn b_method(&self);
10 }
11
12 trait C: B {
13 fn c_method(&self) {
14 self.a_method();
15 }
16 }
17
18 pub fn main() {}