@@ -11,55 +11,55 @@ LL | #![deny(exported_private_dependencies)]
1111 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212
1313error: macro `m` from private dependency 'priv_dep' is re-exported
14- --> $DIR/pub-priv1.rs:155 :9
14+ --> $DIR/pub-priv1.rs:156 :9
1515 |
1616LL | pub use priv_dep::m;
1717 | ^^^^^^^^^^^
1818
1919error: macro `fn_like` from private dependency 'pm' is re-exported
20- --> $DIR/pub-priv1.rs:157 :9
20+ --> $DIR/pub-priv1.rs:158 :9
2121 |
2222LL | pub use pm::fn_like;
2323 | ^^^^^^^^^^^
2424
2525error: derive macro `PmDerive` from private dependency 'pm' is re-exported
26- --> $DIR/pub-priv1.rs:159 :9
26+ --> $DIR/pub-priv1.rs:160 :9
2727 |
2828LL | pub use pm::PmDerive;
2929 | ^^^^^^^^^^^^
3030
3131error: attribute macro `pm_attr` from private dependency 'pm' is re-exported
32- --> $DIR/pub-priv1.rs:161 :9
32+ --> $DIR/pub-priv1.rs:162 :9
3333 |
3434LL | pub use pm::pm_attr;
3535 | ^^^^^^^^^^^
3636
3737error: variant `V1` from private dependency 'priv_dep' is re-exported
38- --> $DIR/pub-priv1.rs:164 :9
38+ --> $DIR/pub-priv1.rs:165 :9
3939 |
4040LL | pub use priv_dep::E::V1;
4141 | ^^^^^^^^^^^^^^^
4242
4343error: type alias `Unit` from private dependency 'priv_dep' is re-exported
44- --> $DIR/pub-priv1.rs:167 :9
44+ --> $DIR/pub-priv1.rs:168 :9
4545 |
4646LL | pub use priv_dep::Unit;
4747 | ^^^^^^^^^^^^^^
4848
4949error: type alias `PubPub` from private dependency 'priv_dep' is re-exported
50- --> $DIR/pub-priv1.rs:169 :9
50+ --> $DIR/pub-priv1.rs:170 :9
5151 |
5252LL | pub use priv_dep::PubPub;
5353 | ^^^^^^^^^^^^^^^^
5454
5555error: type alias `PubPriv` from private dependency 'priv_dep' is re-exported
56- --> $DIR/pub-priv1.rs:171 :9
56+ --> $DIR/pub-priv1.rs:172 :9
5757 |
5858LL | pub use priv_dep::PubPriv;
5959 | ^^^^^^^^^^^^^^^^^
6060
6161error: struct `Renamed` from private dependency 'priv_dep' is re-exported
62- --> $DIR/pub-priv1.rs:173 :9
62+ --> $DIR/pub-priv1.rs:174 :9
6363 |
6464LL | pub use priv_dep::OtherType as Renamed;
6565 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -248,5 +248,13 @@ error: type `OtherType` from private dependency 'priv_dep' in public interface
248248LL | fn from(val: PublicWithStdImpl) -> Self { Self }
249249 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
250250
251- error: aborting due to 40 previous errors
251+ error: type `OtherType` from private dependency 'priv_dep' in public interface
252+ --> $DIR/pub-priv1.rs:146:5
253+ |
254+ LL | fn from(val: PublicWithStdImpl) -> Self { Self }
255+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
256+ |
257+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
258+
259+ error: aborting due to 41 previous errors
252260
0 commit comments