]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/export-tag-variant.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / privacy / export-tag-variant.rs
1 mod foo {
2     pub fn x() { }
3
4     enum Y { Y1 }
5 }
6
7 fn main() { let z = foo::Y::Y1; } //~ ERROR: enum `Y` is private