diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-11593.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-11593.rs b/src/test/ui/issues/issue-11593.rs new file mode 100644 index 000000000..8bf034e82 --- /dev/null +++ b/src/test/ui/issues/issue-11593.rs @@ -0,0 +1,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() {} |