Skip to content

Commit

Permalink
chore(naga): suppress irrefutable_let_patterns for `EnableExtension…
Browse files Browse the repository at this point in the history
…` `match`ing in `Error::as_parse_error` (#6607)
  • Loading branch information
ErichDonGubler authored Nov 25, 2024
1 parent 05c9f43 commit 3016c56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions naga/src/front/wgsl/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,7 @@ impl<'a> Error<'a> {
)
.into(),
)],
#[allow(irrefutable_let_patterns)]
notes: if let EnableExtension::Unimplemented(kind) = kind {
vec![format!(
concat!(
Expand Down

0 comments on commit 3016c56

Please sign in to comment.