| error: manual `Debug` impl does not include all fields |
| --> tests/ui/missing_fields_in_debug.rs:14:1 |
| | |
| LL | / impl fmt::Debug for NamedStruct1Ignored { |
| ... | |
| LL | | } |
| | |_^ |
| | |
| note: this field is unused |
| --> tests/ui/missing_fields_in_debug.rs:11:5 |
| | |
| LL | hidden: u32, |
| | ^^^^^^^^^^^ |
| = help: consider including all fields in this `Debug` impl |
| = help: consider calling `.finish_non_exhaustive()` if you intend to ignore fields |
| = note: `-D clippy::missing-fields-in-debug` implied by `-D warnings` |
| = help: to override `-D warnings` add `#[allow(clippy::missing_fields_in_debug)]` |
| |
| error: manual `Debug` impl does not include all fields |
| --> tests/ui/missing_fields_in_debug.rs:34:1 |
| | |
| LL | / impl fmt::Debug for NamedStructMultipleIgnored { |
| ... | |
| LL | | } |
| | |_^ |
| | |
| note: this field is unused |
| --> tests/ui/missing_fields_in_debug.rs:28:5 |
| | |
| LL | hidden: u32, |
| | ^^^^^^^^^^^ |
| note: this field is unused |
| --> tests/ui/missing_fields_in_debug.rs:29:5 |
| | |
| LL | hidden2: String, |
| | ^^^^^^^^^^^^^^^ |
| note: this field is unused |
| --> tests/ui/missing_fields_in_debug.rs:31:5 |
| | |
| LL | hidden4: ((((u8), u16), u32), u64), |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| = help: consider including all fields in this `Debug` impl |
| = help: consider calling `.finish_non_exhaustive()` if you intend to ignore fields |
| |
| error: manual `Debug` impl does not include all fields |
| --> tests/ui/missing_fields_in_debug.rs:97:1 |
| | |
| LL | / impl fmt::Debug for MultiExprDebugImpl { |
| LL | | |
| LL | | |
| LL | | fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { |
| ... | |
| LL | | } |
| | |_^ |
| | |
| note: this field is unused |
| --> tests/ui/missing_fields_in_debug.rs:93:5 |
| | |
| LL | b: String, |
| | ^^^^^^^^^ |
| = help: consider including all fields in this `Debug` impl |
| = help: consider calling `.finish_non_exhaustive()` if you intend to ignore fields |
| |
| error: aborting due to 3 previous errors |
| |