fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0624]: method `static_meth_struct` is private 2 --> $DIR/xc-private-method.rs:6:13 3 | 4LL | let _ = xc_private_method_lib::Struct::static_meth_struct(); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 7error[E0624]: method `static_meth_enum` is private 8 --> $DIR/xc-private-method.rs:9:13 9 | 10LL | let _ = xc_private_method_lib::Enum::static_meth_enum(); 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0624`.