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