diff --git a/src/trace/implementations/ord.rs b/src/trace/implementations/ord.rs index a8cea33f6..e0a85eff2 100644 --- a/src/trace/implementations/ord.rs +++ b/src/trace/implementations/ord.rs @@ -85,7 +85,7 @@ pub trait Layout { } /// A layout that uses vectors -pub struct Vector { +pub struct Vector { phantom: std::marker::PhantomData<(U, O)>, } @@ -99,7 +99,7 @@ impl Layout for Vector { } /// A layout based on timely stacks -pub struct TStack { +pub struct TStack { phantom: std::marker::PhantomData<(U, O)>, } diff --git a/tests/trace.rs b/tests/trace.rs index d00c4497e..1d830e094 100644 --- a/tests/trace.rs +++ b/tests/trace.rs @@ -6,16 +6,16 @@ use std::rc::Rc; use timely::dataflow::operators::generic::OperatorInfo; use timely::progress::{Antichain, frontier::AntichainRef}; -use differential_dataflow::trace::implementations::ord::OrdValBatch; +use differential_dataflow::trace::implementations::ord::{OrdValBatch, Vector}; use differential_dataflow::trace::{Trace, TraceReader, Batch, Batcher}; use differential_dataflow::trace::cursor::Cursor; use differential_dataflow::trace::implementations::spine_fueled::Spine; -pub type OrdValSpine = Spine>>; +pub type OrdValSpine = Spine>>>; type IntegerTrace = OrdValSpine; -fn get_trace() -> Spine>> { +fn get_trace() -> Spine>>> { let op_info = OperatorInfo::new(0, 0, &[]); let mut trace = IntegerTrace::new(op_info, None, None); {