mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +00:00
The embedded error in the enum will be read on debug output of the error. Fixes beta clippy issue: warning: field `0` is never read --> performance-metrics/src/performance_tests.rs:25:11 | 25 | Infra(InfraError), | ----- ^^^^^^^^^^ | | | field in this variant | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 25 | Infra(()), | ~~ Signed-off-by: Rob Bradford <rbradford@rivosinc.com> (cherry picked from commit 8899ebd63cb82b0eb21f4efa5e3f9fd6fe3d6db4)