blob: 6471a7914e1039583d65591ce3921eb0fa49b803 [file] [log] [blame]
error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
--> $DIR/associated-item-privacy-inherent.rs:13:21
|
LL | let value = Pub::method;
| ^^^^^^^^^^^
...
LL | priv_nominal::mac!();
| --------------------- in this macro invocation
error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
--> $DIR/associated-item-privacy-inherent.rs:15:9
|
LL | value;
| ^^^^^
...
LL | priv_nominal::mac!();
| --------------------- in this macro invocation
error: type `for<'r> fn(&'r priv_nominal::Pub) {priv_nominal::Pub::method}` is private
--> $DIR/associated-item-privacy-inherent.rs:17:13
|
LL | Pub.method();
| ^^^^^^
...
LL | priv_nominal::mac!();
| --------------------- in this macro invocation
error: associated constant `CONST` is private
--> $DIR/associated-item-privacy-inherent.rs:19:9
|
LL | Pub::CONST;
| ^^^^^^^^^^
...
LL | priv_nominal::mac!();
| --------------------- in this macro invocation
error: type `priv_signature::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:37:21
|
LL | let value = Pub::method;
| ^^^^^^^^^^^
...
LL | priv_signature::mac!();
| ----------------------- in this macro invocation
error: type `priv_signature::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:39:9
|
LL | value;
| ^^^^^
...
LL | priv_signature::mac!();
| ----------------------- in this macro invocation
error: type `priv_signature::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:41:13
|
LL | Pub.method(loop {});
| ^^^^^^
...
LL | priv_signature::mac!();
| ----------------------- in this macro invocation
error: type `priv_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:57:21
|
LL | let value = Pub::method::<Priv>;
| ^^^^^^^^^^^^^^^^^^^
...
LL | priv_substs::mac!();
| -------------------- in this macro invocation
error: type `priv_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:59:9
|
LL | value;
| ^^^^^
...
LL | priv_substs::mac!();
| -------------------- in this macro invocation
error: type `priv_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:61:9
|
LL | Pub.method::<Priv>();
| ^^^^^^^^^^^^^^^^^^^^
...
LL | priv_substs::mac!();
| -------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:80:21
|
LL | let value = <Pub>::method;
| ^^^^^^^^^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:82:9
|
LL | value;
| ^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:84:21
|
LL | let value = Pub::method;
| ^^^^^^^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:86:9
|
LL | value;
| ^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:88:21
|
LL | let value = <Pub>::static_method;
| ^^^^^^^^^^^^^^^^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:90:9
|
LL | value;
| ^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:92:21
|
LL | let value = Pub::static_method;
| ^^^^^^^^^^^^^^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:94:9
|
LL | value;
| ^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:96:19
|
LL | Pub(Priv).method();
| ^^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:99:10
|
LL | <Pub>::CONST;
| ^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: type `priv_parent_substs::Priv` is private
--> $DIR/associated-item-privacy-inherent.rs:101:9
|
LL | Pub::CONST;
| ^^^^^^^^^^
...
LL | priv_parent_substs::mac!();
| --------------------------- in this macro invocation
error: aborting due to 21 previous errors