diff --git a/src/internal/incompatibility.rs b/src/internal/incompatibility.rs index 75930b18..176ce3dd 100644 --- a/src/internal/incompatibility.rs +++ b/src/internal/incompatibility.rs @@ -35,7 +35,7 @@ pub struct Incompatibility = Id>; +pub type IncompId = Id>; pub(crate) type IncompDpId = IncompId< ::P, diff --git a/src/internal/mod.rs b/src/internal/mod.rs index eb94bf3f..b4bc2eec 100644 --- a/src/internal/mod.rs +++ b/src/internal/mod.rs @@ -10,7 +10,7 @@ mod small_map; mod small_vec; pub(crate) use arena::{Arena, HashArena}; -pub(crate) use incompatibility::{IncompDpId, IncompId, Relation}; +pub(crate) use incompatibility::{IncompDpId, Relation}; pub(crate) use partial_solution::{DecisionLevel, PartialSolution, SatisfierSearch}; pub(crate) use small_map::SmallMap; pub(crate) use small_vec::SmallVec; @@ -18,4 +18,4 @@ pub(crate) use small_vec::SmallVec; // uv-specific additions pub use arena::Id; pub use core::State; -pub use incompatibility::{Incompatibility, Kind}; +pub use incompatibility::{IncompId, Incompatibility, Kind}; diff --git a/src/lib.rs b/src/lib.rs index 8ce89d6e..dc7ca1ad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -237,6 +237,6 @@ pub use version_ranges::Ranges as Range; pub use version_set::VersionSet; // uv-specific additions -pub use internal::{Id, Incompatibility, Kind, State}; +pub use internal::{Id, IncompId, Incompatibility, Kind, State}; mod internal;