summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-11593.rs
blob: 8bf034e8203c97668903ff4315115824735f2e85 (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build:private-trait-xc.rs

extern crate private_trait_xc;

struct Bar;

impl private_trait_xc::Foo for Bar {}
//~^ ERROR: trait `Foo` is private

fn main() {}