]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-11680.rs
Rollup merge of #106752 - sulami:master, r=estebank
[rust.git] / tests / ui / issues / issue-11680.rs
1 // aux-build:issue-11680.rs
2
3 extern crate issue_11680 as other;
4
5 fn main() {
6     let _b = other::Foo::Bar(1);
7     //~^ ERROR: enum `Foo` is private
8
9     let _b = other::test::Foo::Bar(1);
10     //~^ ERROR: enum `Foo` is private
11 }