diff --git a/moz-webgpu-cts/src/main.rs b/moz-webgpu-cts/src/main.rs index a37dbeeb..14649d56 100644 --- a/moz-webgpu-cts/src/main.rs +++ b/moz-webgpu-cts/src/main.rs @@ -415,7 +415,7 @@ fn run(cli: Cli) -> ExitCode { Subcommand::Triage { on_zero_item } => { #[derive(Debug)] struct TaggedTest { - #[allow(unused)] + #[expect(unused)] orig_path: Arc, inner: Test, } diff --git a/moz-webgpu-cts/src/process_reports.rs b/moz-webgpu-cts/src/process_reports.rs index 67abc54b..94695d23 100644 --- a/moz-webgpu-cts/src/process_reports.rs +++ b/moz-webgpu-cts/src/process_reports.rs @@ -60,7 +60,6 @@ pub(crate) struct ProcessReportsArgs<'a> { } #[derive(Clone, Copy, Debug)] -#[allow(clippy::enum_variant_names)] pub(crate) enum ReportProcessingPreset { ResetContradictoryOutcomes, MergeOutcomes, @@ -108,7 +107,7 @@ fn accumulate( /// /// For subtests, `parent_implementation_status` should be specified so the /// parent test's implementation status can be used for filtering. -#[allow(clippy::type_complexity)] +#[expect(clippy::type_complexity)] fn reconcile( meta_props: &mut TestProps, reported: NonNormalizedPropertyValue>, diff --git a/moz-webgpu-cts/src/wpt/metadata.rs b/moz-webgpu-cts/src/wpt/metadata.rs index 9ba216a9..044904b8 100644 --- a/moz-webgpu-cts/src/wpt/metadata.rs +++ b/moz-webgpu-cts/src/wpt/metadata.rs @@ -64,7 +64,7 @@ impl metadata::File<'_> for File { #[derive(Clone, Debug, Default, Serialize)] pub struct FileProps { pub is_disabled: Option>, String>>, - #[allow(clippy::type_complexity)] + #[expect(clippy::type_complexity)] pub prefs: Option>, Vec<(String, String)>>>, pub tags: Option>, Vec>>, pub implementation_status: Option>, ImplementationStatus>>,