Skip to content

Commit bc852c6

Browse files
authored
refactor: Deprecate ValidationError::ExtensionError (#2281)
Not raised anymore
1 parent f8a7490 commit bc852c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hugr-core/src/hugr/validate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ pub enum ValidationError<N: HugrNode> {
709709
#[error(transparent)]
710710
InterGraphEdgeError(#[from] InterGraphEdgeError<N>),
711711
/// There are errors in the extension deltas.
712+
#[deprecated(note = "Never returned since hugr-core-v0.20.0")]
712713
#[error(transparent)]
713714
ExtensionError(#[from] ExtensionError),
714715
/// A node claims to still be awaiting extension inference. Perhaps it is not acted upon by inference.

0 commit comments

Comments
 (0)