diff --git a/naga/src/front/wgsl/error.rs b/naga/src/front/wgsl/error.rs index afef7168d6..edd13313e5 100644 --- a/naga/src/front/wgsl/error.rs +++ b/naga/src/front/wgsl/error.rs @@ -990,6 +990,7 @@ impl<'a> Error<'a> { ) .into(), )], + #[allow(irrefutable_let_patterns)] notes: if let EnableExtension::Unimplemented(kind) = kind { vec![format!( concat!(