]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3979-2.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / 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() {}