Skip to content

Commit

Permalink
fix: add non_exhaustive to Instr enum (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored Sep 25, 2024
1 parent 9f918c6 commit cb0b87f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ pub(crate) enum BlockKind {
/// ```
#[walrus_instr]
#[derive(Clone, Debug)]
#[non_exhaustive]
pub enum Instr {
/// `block ... end`
#[walrus(skip_builder)]
Expand Down

0 comments on commit cb0b87f

Please sign in to comment.