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 973a5c9 commit a86f065Copy full SHA for a86f065
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 6ce5e770d2b456fd44dce50703afd980ffe2ff33
+refs/heads/master: 7aa594791d396836c1892cf5250ddc21fe5c7dad
3
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
trunk/src/test/compile-fail/privacy/restricted/private-in-public.rs
@@ -15,6 +15,8 @@ mod foo {
15
mod bar {
16
use foo::Priv;
17
pub(super) fn f(_: Priv) {}
18
- pub(crate) fn f(_: Priv) {} //~ ERROR private
+ pub(crate) fn g(_: Priv) {} //~ ERROR E0446
19
}
20
21
+
22
+fn main() { }
0 commit comments