1error[E0624]: associated function `static_meth_struct` is private
2  --> $DIR/xc-private-method.rs:6:44
3   |
4LL |     let _ = xc_private_method_lib::Struct::static_meth_struct();
5   |                                            ^^^^^^^^^^^^^^^^^^ private associated function
6   |
7  ::: $DIR/auxiliary/xc-private-method-lib.rs:8:5
8   |
9LL |     fn static_meth_struct() -> Struct {
10   |     --------------------------------- private associated function defined here
11
12error[E0624]: associated function `static_meth_enum` is private
13  --> $DIR/xc-private-method.rs:9:42
14   |
15LL |     let _ = xc_private_method_lib::Enum::static_meth_enum();
16   |                                          ^^^^^^^^^^^^^^^^ private associated function
17   |
18  ::: $DIR/auxiliary/xc-private-method-lib.rs:23:5
19   |
20LL |     fn static_meth_enum() -> Enum {
21   |     ----------------------------- private associated function defined here
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0624`.
26