fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: type `priv_dep::OtherType` from private dependency 'priv_dep' in public interface 2 --> $DIR/pub-priv1.rs:20:5 3 | 4LL | pub field: OtherType, 5 | ^^^^^^^^^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/pub-priv1.rs:3:9 9 | 10LL | #![deny(exported_private_dependencies)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: type `priv_dep::OtherType` from private dependency 'priv_dep' in public interface 14 --> $DIR/pub-priv1.rs:27:5 15 | 16LL | pub fn pub_fn(param: OtherType) {} 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 18 19error: trait `priv_dep::OtherTrait` from private dependency 'priv_dep' in public interface 20 --> $DIR/pub-priv1.rs:33:1 21 | 22LL | / pub trait MyPubTrait { 23LL | | type Foo: OtherTrait; 24LL | | } 25 | |_^ 26 27error: aborting due to 3 previous errors 28