]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-11593.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-11593.rs
1 // aux-build:private-trait-xc.rs
2
3 extern crate private_trait_xc;
4
5 struct Bar;
6
7 impl private_trait_xc::Foo for Bar {}
8 //~^ ERROR: trait `Foo` is private
9
10 fn main() {}