File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ use std::io;
66use super :: { ExtensionBreakingError , WithGenerator , check_breaking_extensions} ;
77use crate :: extension:: ExtensionRegistry ;
88use crate :: extension:: resolution:: ExtensionResolutionError ;
9- use crate :: hugr:: ExtensionError ;
109use crate :: package:: Package ;
1110use crate :: { Extension , Hugr } ;
1211
@@ -73,8 +72,6 @@ pub enum PackageEncodingError {
7372 ExtensionResolution ( WithGenerator < ExtensionResolutionError > ) ,
7473 /// Error raised while checking for breaking extension version mismatch.
7574 ExtensionVersion ( WithGenerator < ExtensionBreakingError > ) ,
76- /// Could not resolve the runtime extensions for the hugr.
77- RuntimeExtensionResolution ( ExtensionError ) ,
7875}
7976
8077/// A private package structure implementing the serde traits.
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ use crate::types::EdgeKind;
2121use crate :: types:: type_param:: TypeParam ;
2222use crate :: { Direction , Port } ;
2323
24- use super :: ExtensionError ;
2524use super :: internal:: PortgraphNodeMap ;
2625use super :: views:: HugrView ;
2726
@@ -692,10 +691,6 @@ pub enum ValidationError<N: HugrNode> {
692691 /// There are invalid inter-graph edges.
693692 #[ error( transparent) ]
694693 InterGraphEdgeError ( #[ from] InterGraphEdgeError < N > ) ,
695- /// There are errors in the extension deltas.
696- #[ deprecated( note = "Never returned since hugr-core-v0.20.0" ) ]
697- #[ error( transparent) ]
698- ExtensionError ( #[ from] ExtensionError ) ,
699694 /// A node claims to still be awaiting extension inference. Perhaps it is not acted upon by inference.
700695 #[ error(
701696 "{node} needs a concrete ExtensionSet - inference will provide this for Case/CFG/Conditional/DataflowBlock/DFG/TailLoop only"
You can’t perform that action at this time.
0 commit comments