Commit 09d43ca
[rust] Avoid warning for unused fields
Upstream rustc has expanded the unused field lint to to not count
usages performed by derived Clone and Debug implementations.
rust-lang/rust#85200
This CL marks such fields with an #[allow(unused)] tag.
Bug: 84550
Change-Id: Ie5a84dd7c941b47419eb2a011a8daed22fc16695
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/581062
Fuchsia-Auto-Submit: Adrian Danis <adanis@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Reviewed-by: Tyler Mandry <tmandry@google.com>1 parent bef1051 commit 09d43ca
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments