blob: 2e74bf2cb47ec19b5a50103ef1a508fe933bc0e4 [file] [edit]
error: mixed usage of pub and non-pub fields
--> tests/ui/partial_pub_fields.rs:9:9
|
LL | pub paths: HashMap<u32, String>,
| ^^^
|
= help: consider using private field here
= note: `-D clippy::partial-pub-fields` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::partial_pub_fields)]`
error: mixed usage of pub and non-pub fields
--> tests/ui/partial_pub_fields.rs:16:9
|
LL | b: u8,
| ^
|
= help: consider using public field here
error: mixed usage of pub and non-pub fields
--> tests/ui/partial_pub_fields.rs:20:27
|
LL | pub struct Point(i32, pub i32);
| ^^^
|
= help: consider using private field here
error: mixed usage of pub and non-pub fields
--> tests/ui/partial_pub_fields.rs:25:9
|
LL | pub pos: u32,
| ^^^
|
= help: consider using private field here
error: aborting due to 4 previous errors