|  | 
| 1 |  | -error: type `OtherType` from private dependency 'priv_dep' in public interface | 
| 2 |  | -  --> $DIR/pub-priv1.rs:29:5 | 
|  | 1 | +error: crate `priv_dep` from private dependency 'priv_dep' is re-exported | 
|  | 2 | +  --> $DIR/pub-priv1.rs:12:1 | 
| 3 | 3 |    | | 
| 4 |  | -LL |     pub field: OtherType, | 
| 5 |  | -   |     ^^^^^^^^^^^^^^^^^^^^ | 
|  | 4 | +LL | pub extern crate priv_dep; | 
|  | 5 | +   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | 
| 6 | 6 |    | | 
| 7 | 7 | note: the lint level is defined here | 
| 8 | 8 |   --> $DIR/pub-priv1.rs:9:9 | 
| 9 | 9 |    | | 
| 10 | 10 | LL | #![deny(exported_private_dependencies)] | 
| 11 | 11 |    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 
| 12 | 12 | 
 | 
|  | 13 | +error: macro `m` from private dependency 'priv_dep' is re-exported | 
|  | 14 | +  --> $DIR/pub-priv1.rs:94:9 | 
|  | 15 | +   | | 
|  | 16 | +LL | pub use priv_dep::m; | 
|  | 17 | +   |         ^^^^^^^^^^^ | 
|  | 18 | + | 
|  | 19 | +error: macro `fn_like` from private dependency 'pm' is re-exported | 
|  | 20 | +  --> $DIR/pub-priv1.rs:96:9 | 
|  | 21 | +   | | 
|  | 22 | +LL | pub use pm::fn_like; | 
|  | 23 | +   |         ^^^^^^^^^^^ | 
|  | 24 | + | 
|  | 25 | +error: derive macro `PmDerive` from private dependency 'pm' is re-exported | 
|  | 26 | +  --> $DIR/pub-priv1.rs:98:9 | 
|  | 27 | +   | | 
|  | 28 | +LL | pub use pm::PmDerive; | 
|  | 29 | +   |         ^^^^^^^^^^^^ | 
|  | 30 | + | 
|  | 31 | +error: attribute macro `pm_attr` from private dependency 'pm' is re-exported | 
|  | 32 | +  --> $DIR/pub-priv1.rs:100:9 | 
|  | 33 | +   | | 
|  | 34 | +LL | pub use pm::pm_attr; | 
|  | 35 | +   |         ^^^^^^^^^^^ | 
|  | 36 | + | 
|  | 37 | +error: variant `V1` from private dependency 'priv_dep' is re-exported | 
|  | 38 | +  --> $DIR/pub-priv1.rs:103:9 | 
|  | 39 | +   | | 
|  | 40 | +LL | pub use priv_dep::E::V1; | 
|  | 41 | +   |         ^^^^^^^^^^^^^^^ | 
|  | 42 | + | 
|  | 43 | +error: type `OtherType` from private dependency 'priv_dep' in public interface | 
|  | 44 | +  --> $DIR/pub-priv1.rs:29:5 | 
|  | 45 | +   | | 
|  | 46 | +LL |     pub field: OtherType, | 
|  | 47 | +   |     ^^^^^^^^^^^^^^^^^^^^ | 
|  | 48 | + | 
| 13 | 49 | error: type `OtherType` from private dependency 'priv_dep' in public interface | 
| 14 | 50 |   --> $DIR/pub-priv1.rs:36:5 | 
| 15 | 51 |    | | 
| @@ -90,5 +126,5 @@ LL | impl PubTraitOnPrivate for OtherType {} | 
| 90 | 126 |    | | 
| 91 | 127 |    = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` | 
| 92 | 128 | 
 | 
| 93 |  | -error: aborting due to 14 previous errors | 
|  | 129 | +error: aborting due to 20 previous errors | 
| 94 | 130 | 
 | 
0 commit comments