Skip to content

Commit 3016c56

Browse files
chore(naga): suppress irrefutable_let_patterns for EnableExtension matching in Error::as_parse_error (gfx-rs#6607)
1 parent 05c9f43 commit 3016c56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

naga/src/front/wgsl/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,7 @@ impl<'a> Error<'a> {
990990
)
991991
.into(),
992992
)],
993+
#[allow(irrefutable_let_patterns)]
993994
notes: if let EnableExtension::Unimplemented(kind) = kind {
994995
vec![format!(
995996
concat!(

0 commit comments

Comments
 (0)