mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-04-14 21:16:35 +00:00
chore(naga): suppress irrefutable_let_patterns
for EnableExtension
match
ing in Error::as_parse_error
(#6607)
This commit is contained in:
parent
05c9f43fa8
commit
3016c56db6
@ -990,6 +990,7 @@ impl<'a> Error<'a> {
|
||||
)
|
||||
.into(),
|
||||
)],
|
||||
#[allow(irrefutable_let_patterns)]
|
||||
notes: if let EnableExtension::Unimplemented(kind) = kind {
|
||||
vec![format!(
|
||||
concat!(
|
||||
|
Loading…
Reference in New Issue
Block a user