vm-device: reevaluate #[allow] attributes

Drop stale #[allow]s whose lints no longer fire and convert the
still-needed ones to #[expect] so they warn if the lints stop firing.

Part of #8326.

Signed-off-by: Tushar Khatri <hello@tusharkhatri.in>
This commit is contained in:
Tushar Khatri
2026-06-11 15:39:51 +00:00
committed by Rob Bradford
parent 407dd12dc5
commit 712d42e6ac
3 changed files with 4 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ pub enum PciBarType {
}
/// Enumeration for device resources.
#[allow(missing_docs)]
#[expect(missing_docs)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub enum Resource {
/// IO Port address range.