@@ -93,7 +93,9 @@ fn big_array() {
9393}
9494
9595#[ cfg( feature = "bench" ) ]
96- fn big_array_bench_generic < S : UnificationStore < Key = UnitKey , Value = ( ) > > ( b : & mut Bencher ) {
96+ fn big_array_bench_generic < S : Default + UnificationStore < Key = UnitKey , Value = ( ) > > (
97+ b : & mut Bencher ,
98+ ) {
9799 let mut ut: UnificationTable < S > = UnificationTable :: new ( ) ;
98100 let mut keys = Vec :: new ( ) ;
99101 const MAX : usize = 1 << 15 ;
@@ -128,7 +130,7 @@ fn big_array_bench_Persistent(b: &mut Bencher) {
128130}
129131
130132#[ cfg( feature = "bench" ) ]
131- fn big_array_bench_in_snapshot_generic < S : UnificationStore < Key = UnitKey , Value = ( ) > > (
133+ fn big_array_bench_in_snapshot_generic < S : Default + UnificationStore < Key = UnitKey , Value = ( ) > > (
132134 b : & mut Bencher ,
133135) {
134136 let mut ut: UnificationTable < S > = UnificationTable :: new ( ) ;
@@ -169,7 +171,11 @@ fn big_array_bench_in_snapshot_Persistent(b: &mut Bencher) {
169171}
170172
171173#[ cfg( feature = "bench" ) ]
172- fn big_array_bench_clone_generic < S : UnificationStore < Key = UnitKey , Value = ( ) > > ( b : & mut Bencher ) {
174+ fn big_array_bench_clone_generic <
175+ S : Default + Clone + UnificationStore < Key = UnitKey , Value = ( ) > ,
176+ > (
177+ b : & mut Bencher ,
178+ ) {
173179 let mut ut: UnificationTable < S > = UnificationTable :: new ( ) ;
174180 let mut keys = Vec :: new ( ) ;
175181 const MAX : usize = 1 << 15 ;
0 commit comments