]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-14421.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-14421.rs
1 // run-pass
2 #![allow(non_snake_case)]
3
4 // aux-build:issue-14421.rs
5
6 // pretty-expanded FIXME #23616
7
8 extern crate issue_14421 as bug_lib;
9
10 use bug_lib::B;
11 use bug_lib::make;
12
13 pub fn main() {
14     let mut an_A: B = make();
15     an_A.foo();
16 }