From cb0b87f0a00bfaadd02ccdd2957542b18f65edfe Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Wed, 25 Sep 2024 18:35:28 +0200 Subject: [PATCH] fix: add non_exhaustive to Instr enum (#276) --- src/ir/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ir/mod.rs b/src/ir/mod.rs index f60d2569..d897275b 100644 --- a/src/ir/mod.rs +++ b/src/ir/mod.rs @@ -249,6 +249,7 @@ pub(crate) enum BlockKind { /// ``` #[walrus_instr] #[derive(Clone, Debug)] +#[non_exhaustive] pub enum Instr { /// `block ... end` #[walrus(skip_builder)]