@@ -9,47 +9,47 @@ LL | pub _b: u8,
99 = help: to override `-D warnings` add `#[allow(clippy::pub_underscore_fields)]`
1010
1111error: field marked as public but also inferred as unused because it's prefixed with `_`
12- --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:23 :13
12+ --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:24 :13
1313 |
1414LL | pub(in crate::inner) _f: Option<()>,
1515 | ^^^^^^^^^^^^^^^^^^^^^^^
1616 |
1717 = help: consider removing the underscore, or making the field private
1818
1919error: field marked as public but also inferred as unused because it's prefixed with `_`
20- --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:28 :13
20+ --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:29 :13
2121 |
2222LL | pub _g: String,
2323 | ^^^^^^
2424 |
2525 = help: consider removing the underscore, or making the field private
2626
2727error: field marked as public but also inferred as unused because it's prefixed with `_`
28- --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:36 :9
28+ --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:37 :9
2929 |
3030LL | pub _a: usize,
3131 | ^^^^^^
3232 |
3333 = help: consider removing the underscore, or making the field private
3434
3535error: field marked as public but also inferred as unused because it's prefixed with `_`
36- --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:44 :9
36+ --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:45 :9
3737 |
3838LL | pub _c: i64,
3939 | ^^^^^^
4040 |
4141 = help: consider removing the underscore, or making the field private
4242
4343error: field marked as public but also inferred as unused because it's prefixed with `_`
44- --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:48 :9
44+ --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:49 :9
4545 |
4646LL | pub _e: Option<u8>,
4747 | ^^^^^^
4848 |
4949 = help: consider removing the underscore, or making the field private
5050
5151error: field marked as public but also inferred as unused because it's prefixed with `_`
52- --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:62 :9
52+ --> tests/ui-toml/pub_underscore_fields/pub_underscore_fields.rs:63 :9
5353 |
5454LL | pub(crate) _b: Option<String>,
5555 | ^^^^^^^^^^^^^
0 commit comments