summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/issue-30079.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/privacy/issue-30079.rs')
-rw-r--r--tests/ui/privacy/issue-30079.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/privacy/issue-30079.rs b/tests/ui/privacy/issue-30079.rs
index a02a932d0..ddba629f5 100644
--- a/tests/ui/privacy/issue-30079.rs
+++ b/tests/ui/privacy/issue-30079.rs
@@ -3,8 +3,7 @@ struct SemiPriv;
mod m1 {
struct Priv;
impl ::SemiPriv {
- pub fn f(_: Priv) {} //~ WARN private type `m1::Priv` in public interface
- //~^ WARNING hard error
+ pub fn f(_: Priv) {} //~ WARN type `m1::Priv` is more private than the item `m1::<impl SemiPriv>::f`
}
impl Priv {