]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12729.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-12729.rs
1 // check-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 pub struct Foo;
6
7 mod bar {
8     use Foo;
9
10     impl Foo {
11         fn baz(&self) {}
12     }
13 }
14 fn main() {}