chore(naga): suppress irrefutable_let_patterns for EnableExtension matching in Error::as_parse_error (#6607)

This commit is contained in:
Erich Gubler 2024-11-25 07:52:16 -05:00 committed by GitHub
parent 05c9f43fa8
commit 3016c56db6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -990,6 +990,7 @@ impl<'a> Error<'a> {
)
.into(),
)],
#[allow(irrefutable_let_patterns)]
notes: if let EnableExtension::Unimplemented(kind) = kind {
vec![format!(
concat!(