2022-09-22 08:19:53 -05:00
|
|
|
error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub(crate), ReachableThroughImplTrait: pub(crate)
|
|
|
|
--> $DIR/effective_visibilities.rs:4:1
|
|
|
|
|
|
|
|
|
LL | mod outer {
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
|
|
|
--> $DIR/effective_visibilities.rs:6:5
|
|
|
|
|
|
|
|
|
LL | pub mod inner1 {
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
2022-10-28 05:58:21 -05:00
|
|
|
error: not in the table
|
2022-09-22 08:19:53 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:9:9
|
|
|
|
|
|
|
|
|
LL | extern "C" {}
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
|
|
|
--> $DIR/effective_visibilities.rs:12:9
|
|
|
|
|
|
|
|
|
LL | pub trait PubTrait {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-11-23 10:19:06 -06:00
|
|
|
error: Direct: pub(self), Reexported: pub(self), Reachable: pub(self), ReachableThroughImplTrait: pub(self)
|
2022-09-22 08:19:53 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:20:9
|
|
|
|
|
|
|
|
|
LL | struct PrivStruct;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-11-23 10:19:06 -06:00
|
|
|
error: Direct: pub(self), Reexported: pub(self), Reachable: pub(self), ReachableThroughImplTrait: pub(self)
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:20:9
|
|
|
|
|
|
|
|
|
LL | struct PrivStruct;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-09-22 08:19:53 -05:00
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:24:9
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub union PubUnion {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-11-23 10:19:06 -06:00
|
|
|
error: Direct: pub(self), Reexported: pub(self), Reachable: pub(self), ReachableThroughImplTrait: pub(self)
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:26:13
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | a: u8,
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:28:13
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub b: u8,
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:32:9
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub enum Enum {
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:34:13
|
|
|
|
|
|
|
|
|
LL | A(
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
|
|
|
--> $DIR/effective_visibilities.rs:34:13
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | A(
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:37:17
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | PubUnion,
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
2022-10-30 06:55:58 -05:00
|
|
|
error: not in the table
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:43:5
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | macro_rules! none_macro {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-10-30 06:55:58 -05:00
|
|
|
error: Direct: pub(self), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:49:5
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | macro_rules! public_macro {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:54:5
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub struct ReachableStruct {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:56:9
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub a: u8,
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:61:9
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub use outer::inner1;
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:67:5
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub type HalfPublicImport = u8;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub(crate), ReachableThroughImplTrait: pub(crate)
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:70:5
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) const HalfPublicImport: u8 = 0;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
2022-11-04 07:28:03 -05:00
|
|
|
--> $DIR/effective_visibilities.rs:74:9
|
2022-09-22 08:19:53 -05:00
|
|
|
|
|
|
|
|
LL | pub use half_public_import::HalfPublicImport;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
|
|
|
--> $DIR/effective_visibilities.rs:14:13
|
|
|
|
|
|
|
|
|
LL | const A: i32;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
|
|
|
|
--> $DIR/effective_visibilities.rs:16:13
|
|
|
|
|
|
|
|
|
LL | type B;
|
|
|
|
| ^^^^^^
|
|
|
|
|
2022-12-01 09:51:20 -06:00
|
|
|
error: aborting due to 23 previous errors
|
2022-09-22 08:19:53 -05:00
|
|
|
|