2020-03-15 12:38:20 -05:00
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:6:5
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private due to m1
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::redundant-pub-crate` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:11:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private due to m1_1 and m1
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) module inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:15:5
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
2020-03-20 17:49:15 -05:00
|
|
|
LL | pub(crate) mod m1_2 {
|
|
|
|
| ----------^^^^^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:18:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private due to m1_2 and m1
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:24:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private due to m1
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:31:5
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // already crate visible due to m2
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:36:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private due to m2_1
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) module inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:40:5
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
2020-03-20 17:49:15 -05:00
|
|
|
LL | pub(crate) mod m2_2 {
|
|
|
|
| ----------^^^^^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:43:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // already crate visible due to m2_2 and m2
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:49:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // already crate visible due to m2
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:61:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private due to m3_1
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:68:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // already crate visible due to m3_2
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:81:5
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private: not re-exported by `pub use m4::*`
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:86:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private due to m4_1
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) module inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:90:5
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
2020-03-20 17:49:15 -05:00
|
|
|
LL | pub(crate) mod m4_2 {
|
|
|
|
| ----------^^^^^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: pub(crate) function inside private module
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:93:9
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
|
LL | pub(crate) fn g() {} // private due to m4_2
|
2020-03-20 17:49:15 -05:00
|
|
|
| ----------^^^^^
|
|
|
|
| |
|
|
|
|
| help: consider using: `pub`
|
2020-03-15 12:38:20 -05:00
|
|
|
|
|
|
|
error: aborting due to 16 previous errors
|
|
|
|
|