fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
648 B15 linesraw
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
7error[E0624]: associated function `static_meth_enum` is private
8  --> $DIR/xc-private-method.rs:9:42
9   |
10LL |     let _ = xc_private_method_lib::Enum::static_meth_enum();
11   |                                          ^^^^^^^^^^^^^^^^ private associated function
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0624`.