1
1
error: manual `Debug` impl does not include all fields
2
- --> tests/ui/missing_fields_in_debug.rs:13 :1
2
+ --> tests/ui/missing_fields_in_debug.rs:14 :1
3
3
|
4
4
LL | / impl fmt::Debug for NamedStruct1Ignored {
5
5
LL | |
@@ -11,7 +11,7 @@ LL | | }
11
11
| |_^
12
12
|
13
13
note: this field is unused
14
- --> tests/ui/missing_fields_in_debug.rs:10 :5
14
+ --> tests/ui/missing_fields_in_debug.rs:11 :5
15
15
|
16
16
LL | hidden: u32,
17
17
| ^^^^^^^^^^^
@@ -21,7 +21,7 @@ LL | hidden: u32,
21
21
= help: to override `-D warnings` add `#[allow(clippy::missing_fields_in_debug)]`
22
22
23
23
error: manual `Debug` impl does not include all fields
24
- --> tests/ui/missing_fields_in_debug.rs:32 :1
24
+ --> tests/ui/missing_fields_in_debug.rs:33 :1
25
25
|
26
26
LL | / impl fmt::Debug for NamedStructMultipleIgnored {
27
27
LL | |
@@ -33,25 +33,25 @@ LL | | }
33
33
| |_^
34
34
|
35
35
note: this field is unused
36
- --> tests/ui/missing_fields_in_debug.rs:26 :5
36
+ --> tests/ui/missing_fields_in_debug.rs:27 :5
37
37
|
38
38
LL | hidden: u32,
39
39
| ^^^^^^^^^^^
40
40
note: this field is unused
41
- --> tests/ui/missing_fields_in_debug.rs:27 :5
41
+ --> tests/ui/missing_fields_in_debug.rs:28 :5
42
42
|
43
43
LL | hidden2: String,
44
44
| ^^^^^^^^^^^^^^^
45
45
note: this field is unused
46
- --> tests/ui/missing_fields_in_debug.rs:29 :5
46
+ --> tests/ui/missing_fields_in_debug.rs:30 :5
47
47
|
48
48
LL | hidden4: ((((u8), u16), u32), u64),
49
49
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50
50
= help: consider including all fields in this `Debug` impl
51
51
= help: consider calling `.finish_non_exhaustive()` if you intend to ignore fields
52
52
53
53
error: manual `Debug` impl does not include all fields
54
- --> tests/ui/missing_fields_in_debug.rs:94 :1
54
+ --> tests/ui/missing_fields_in_debug.rs:95 :1
55
55
|
56
56
LL | / impl fmt::Debug for MultiExprDebugImpl {
57
57
LL | |
@@ -63,7 +63,7 @@ LL | | }
63
63
| |_^
64
64
|
65
65
note: this field is unused
66
- --> tests/ui/missing_fields_in_debug.rs:90 :5
66
+ --> tests/ui/missing_fields_in_debug.rs:91 :5
67
67
|
68
68
LL | b: String,
69
69
| ^^^^^^^^^
0 commit comments