]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/partial_pub_fields.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / partial_pub_fields.stderr
CommitLineData
2b03887a
FG
1error: mixed usage of pub and non-pub fields
2 --> $DIR/partial_pub_fields.rs:10:9
3 |
4LL | pub paths: HashMap<u32, String>,
5 | ^^^
6 |
7 = help: consider using private field here
8 = note: `-D clippy::partial-pub-fields` implied by `-D warnings`
781aab86 9 = help: to override `-D warnings` add `#[allow(clippy::partial_pub_fields)]`
2b03887a
FG
10
11error: mixed usage of pub and non-pub fields
781aab86 12 --> $DIR/partial_pub_fields.rs:17:9
2b03887a
FG
13 |
14LL | b: u8,
15 | ^
16 |
17 = help: consider using public field here
18
19error: mixed usage of pub and non-pub fields
781aab86 20 --> $DIR/partial_pub_fields.rs:21:27
2b03887a
FG
21 |
22LL | pub struct Point(i32, pub i32);
23 | ^^^
24 |
25 = help: consider using private field here
26
27error: mixed usage of pub and non-pub fields
781aab86 28 --> $DIR/partial_pub_fields.rs:26:9
2b03887a
FG
29 |
30LL | pub pos: u32,
31 | ^^^
32 |
33 = help: consider using private field here
34
35error: aborting due to 4 previous errors
36