Commit 4e6c0ce
[fidl][rust] Put #[allow(dead_code)] on empty services
Since rust-lang/rust#118297, Rust treats unused
tuple struct fields as dead code. This CL adds an #[allow(dead_code)] to
silence the warning.
Bug: 318827209
Change-Id: I6858165a085a0ef508722c1ce38f3d95866d2867
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/972128
Reviewed-by: David Koloski <dkoloski@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: Mitchell Kember <mkember@google.com>1 parent dd909bc commit 4e6c0ce
File tree
2 files changed
+2
-2
lines changed- tools/fidl/fidlgen_rust
- codegen
- goldens
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
| 659 | + | |
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| |||
0 commit comments