summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/private-in-public-non-principal-2.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/privacy/private-in-public-non-principal-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/privacy/private-in-public-non-principal-2.rs b/tests/ui/privacy/private-in-public-non-principal-2.rs
index db451d334..d7223c647 100644
--- a/tests/ui/privacy/private-in-public-non-principal-2.rs
+++ b/tests/ui/privacy/private-in-public-non-principal-2.rs
@@ -1,7 +1,7 @@
#![feature(auto_traits)]
#![feature(negative_impls)]
-#[allow(private_in_public)]
+#[allow(private_interfaces)]
mod m {
pub trait PubPrincipal {}
auto trait PrivNonPrincipal {}