1 error[E0603]: trait `Foo` is private
2 --> $DIR/issue-11593.rs:7:24
4 LL | impl private_trait_xc::Foo for Bar {}
7 note: the trait `Foo` is defined here
8 --> $DIR/auxiliary/private-trait-xc.rs:1:1
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0603`.