2020-03-15 12:38:20 -05:00
|
|
|
error: pub(crate) function inside private module
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:7: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:12: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:16: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:19: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:25: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:32: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:37: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:41: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:44: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:50: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:62: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:69: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:82: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:87: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:91: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
|
2020-03-20 17:49:15 -05:00
|
|
|
--> $DIR/redundant_pub_crate.rs:94: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
|
|
|
|
|