Skip to content

Commit

Permalink
ConstFoldError non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-q committed Dec 11, 2024
1 parent 8698921 commit 54e3a8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hugr-passes/src/const_fold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pub struct ConstantFoldPass {
}

#[derive(Debug, Error)]
#[non_exhaustive]
/// Errors produced by [ConstantFoldPass].
pub enum ConstFoldError {
#[error(transparent)]
Expand Down

0 comments on commit 54e3a8c

Please sign in to comment.