2022-10-16 03:02:23 -05:00
|
|
|
error: mixed usage of pub and non-pub fields
|
2022-10-16 03:57:31 -05:00
|
|
|
--> $DIR/partial_pub_fields.rs:10:9
|
2022-10-16 03:02:23 -05:00
|
|
|
|
|
|
|
|
LL | pub paths: HashMap<u32, String>,
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= help: consider using private field here
|
|
|
|
= note: `-D clippy::partial-pub-fields` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: mixed usage of pub and non-pub fields
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/partial_pub_fields.rs:17:9
|
2022-10-16 03:02:23 -05:00
|
|
|
|
|
|
|
|
LL | b: u8,
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= help: consider using public field here
|
|
|
|
|
2022-10-16 03:57:31 -05:00
|
|
|
error: mixed usage of pub and non-pub fields
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/partial_pub_fields.rs:21:27
|
2022-10-16 03:57:31 -05:00
|
|
|
|
|
|
|
|
LL | pub struct Point(i32, pub i32);
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= help: consider using private field here
|
|
|
|
|
|
|
|
error: mixed usage of pub and non-pub fields
|
2023-07-28 14:35:48 -05:00
|
|
|
--> $DIR/partial_pub_fields.rs:26:9
|
2022-10-16 03:57:31 -05:00
|
|
|
|
|
|
|
|
LL | pub pos: u32,
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= help: consider using private field here
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2022-10-16 03:02:23 -05:00
|
|
|
|