]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/export-tag-variant.stderr
Auto merge of #106780 - flip1995:clippyup, r=Manishearth
[rust.git] / tests / ui / privacy / export-tag-variant.stderr
1 error[E0603]: enum `Y` is private
2   --> $DIR/export-tag-variant.rs:7:26
3    |
4 LL | fn main() { let z = foo::Y::Y1; }
5    |                          ^ private enum
6    |
7 note: the enum `Y` is defined here
8   --> $DIR/export-tag-variant.rs:4:5
9    |
10 LL |     enum Y { Y1 }
11    |     ^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0603`.