diff --git a/crates/fj-core/src/validate/sketch.rs b/crates/fj-core/src/validate/sketch.rs index f50d75cf52..9b10d2720d 100644 --- a/crates/fj-core/src/validate/sketch.rs +++ b/crates/fj-core/src/validate/sketch.rs @@ -18,12 +18,6 @@ impl Validate for Sketch { /// [`Sketch`] validation failed #[derive(Clone, Debug, thiserror::Error)] pub enum SketchValidationError { - /// [`HalfEdge`] referenced by more than one [`Cycle`] - #[error("[`HalfEdge`] referenced by more than one [`Cycle`]")] - HalfEdgeMultipleReferences, - /// [`Cycle`] referenced by more than one [`crate::objects::Region`] - #[error("[`Cycle`] referenced by more than one [`Region`]")] - CycleMultipleReferences, /// Object within sketch referenced by more than one other object #[error("Object within sketch referenced by more than one other Object")] MultipleReferences(#[from] ReferenceCountError), @@ -35,8 +29,6 @@ impl SketchValidationError { _config: &ValidationConfig, errors: &mut Vec, ) { - // todo: store referencing objects instead of just a reference count so that we can surface - // them in the error message let mut referenced_edges = ReferenceCounter::new(); let mut referenced_cycles = ReferenceCounter::new(); diff --git a/crates/fj-core/src/validate/solid.rs b/crates/fj-core/src/validate/solid.rs index 1c8f2dbae0..9127d35f6c 100644 --- a/crates/fj-core/src/validate/solid.rs +++ b/crates/fj-core/src/validate/solid.rs @@ -142,8 +142,6 @@ impl SolidValidationError { _config: &ValidationConfig, errors: &mut Vec, ) { - // todo: store referencing objects instead of just a reference count so that we can surface - // them in the error message let mut referenced_regions = ReferenceCounter::new(); let mut referenced_faces = ReferenceCounter::new(); let mut referenced_edges = ReferenceCounter::new();