//! Segment cursor for tracking position during MIG-guided assembly.
//!
//! The core types live in `mig-types::cursor` — re-exported here for
//! backward compatibility so existing `use crate::cursor::*` paths work.
pub use ;
/// Wrapper version of `expect_segment` that returns `AssemblyError` instead of `SegmentNotFound`.
///
/// This provides backward-compatible error types for callers that work with `AssemblyError`.