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 6f16c5c commit 09af503Copy full SHA for 09af503
src/test/compile-fail/privacy1.rs
@@ -102,6 +102,7 @@ mod foo {
102
//~^ ERROR: method `bar` is private
103
::bar::baz::A.foo2(); //~ ERROR: module `baz` is private
104
::bar::baz::A.bar2(); //~ ERROR: module `baz` is private
105
+ //~^ ERROR: method `bar2` is private
106
107
let _: isize =
108
::bar::B::foo(); //~ ERROR: trait `B` is private
src/test/compile-fail/regions-glb-free-free.rs
@@ -11,7 +11,7 @@
11
mod argparse {
12
pub struct Flag<'a> {
13
name: &'a str,
14
- desc: &'a str,
+ pub desc: &'a str,
15
max_count: usize,
16
value: usize
17
}
src/test/parse-fail/pub-method-macro.rs
@@ -29,6 +29,4 @@ mod bleh {
29
30
31
32
-fn main() {
33
- bleh::S.f();
34
-}
+fn main() {}
0 commit comments