error[E0624]: associated function `bar` is private
--> $DIR/privacy1.rs:77:23
|
+LL | fn bar() {}
+ | -------- private associated function defined here
+...
LL | self::baz::A::bar();
| ^^^ private associated function
error[E0624]: associated function `bar` is private
--> $DIR/privacy1.rs:95:13
|
+LL | fn bar() {}
+ | -------- private associated function defined here
+...
LL | bar::A::bar();
| ^^^ private associated function
error[E0624]: associated function `bar` is private
--> $DIR/privacy1.rs:102:19
|
+LL | fn bar() {}
+ | -------- private associated function defined here
+...
LL | ::bar::A::bar();
| ^^^ private associated function
error[E0624]: associated function `bar` is private
--> $DIR/privacy1.rs:105:24
|
+LL | fn bar() {}
+ | -------- private associated function defined here
+...
LL | ::bar::baz::A::bar();
| ^^^ private associated function
error[E0624]: associated function `bar2` is private
--> $DIR/privacy1.rs:108:23
|
+LL | fn bar2(&self) {}
+ | -------------- private associated function defined here
+...
LL | ::bar::baz::A.bar2();
| ^^^^ private associated function