about summary refs log tree commit diff
path: root/tests/ui/privacy/issue-11593.rs
blob: fc7174bb2011e3b61552bfb446e59bb108afaadf (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() {}