We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ec29d commit a05bfc6Copy full SHA for a05bfc6
src/test/ui/privacy/pub-priv-dep/pub-priv1.rs
@@ -39,5 +39,11 @@ pub trait MyPubTrait {
39
//~^^^ ERROR trait `priv_dep::OtherTrait` from private dependency 'priv_dep' in public interface
40
//~| WARNING this was previously accepted
41
42
+pub struct AllowedPrivType {
43
+ #[allow(exported_private_dependencies)]
44
+ pub allowed: OtherType
45
+}
46
+
47
48
49
fn main() {}
0 commit comments