]> git.lizzy.rs Git - rust.git/blob - src/test/ui/export-tag-variant.stderr
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrum
[rust.git] / src / test / ui / 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`.