Commit 528e761
committed
Ignore missing_fields_in_debug clippy lint for Ident
error: manual `Debug` impl does not include all fields
--> src/fallback.rs:853:1
|
853 | / impl Debug for Ident {
854 | | // Ident(proc_macro), Ident(r#union)
855 | | #[cfg(not(span_locations))]
856 | | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
... |
872 | | }
873 | | }
| |_^
|
note: this field is unused
--> src/fallback.rs:748:5
|
748 | raw: bool,
| ^^^^^^^^^
= help: consider including all fields in this `Debug` impl
= help: consider calling `.finish_non_exhaustive()` if you intend to ignore fields
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_fields_in_debug
= note: `-D clippy::missing-fields-in-debug` implied by `-D clippy::pedantic`1 parent 42f4f23 commit 528e761
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
| 853 | + | |
853 | 854 | | |
854 | 855 | | |
855 | 856 | | |
| |||
0 commit comments