test(naga): add missing variants to DirectiveKind::iter

This commit is contained in:
Erich Gubler 2024-10-24 15:34:42 -04:00
parent 25f0819edd
commit 6934f5ae91

View File

@ -45,7 +45,9 @@ impl DirectiveKind {
fn iter() -> impl Iterator<Item = Self> {
use strum::IntoEnumIterator;
UnimplementedDirectiveKind::iter().map(Self::Unimplemented)
[Self::Enable, Self::Requires]
.into_iter()
.chain(UnimplementedDirectiveKind::iter().map(Self::Unimplemented))
}
}