@@ -134,7 +134,7 @@ impl<T: DeepView> DeepView for alloc::vec::Vec<T> {
134134 }
135135}
136136
137- #[ cfg( all( feature = "alloc" , any( verus_keep_ghost, feature = "allocator" ) ) ) ]
137+ #[ cfg( all( feature = "alloc" , feature = "std" , any( verus_keep_ghost, feature = "allocator" ) ) ) ]
138138impl <Key , Value , S , A : core:: alloc:: Allocator > View for std:: collections:: HashMap <
139139 Key ,
140140 Value ,
@@ -146,7 +146,7 @@ impl<Key, Value, S, A: core::alloc::Allocator> View for std::collections::HashMa
146146 uninterp spec fn view( & self ) -> Map <Key , Value >;
147147}
148148
149- #[ cfg( all( feature = "alloc" , any( verus_keep_ghost, feature = "allocator" ) ) ) ]
149+ #[ cfg( all( feature = "alloc" , feature = "std" , any( verus_keep_ghost, feature = "allocator" ) ) ) ]
150150impl <
151151 Key : DeepView ,
152152 Value : DeepView ,
@@ -160,14 +160,14 @@ impl<
160160 }
161161}
162162
163- #[ cfg( all( feature = "alloc" , not( verus_keep_ghost) , not( feature = "allocator" ) ) ) ]
163+ #[ cfg( all( feature = "alloc" , feature = "std" , not( verus_keep_ghost) , not( feature = "allocator" ) ) ) ]
164164impl <Key , Value , S > View for std:: collections:: HashMap <Key , Value , S > {
165165 type V = Map <Key , Value >;
166166
167167 uninterp spec fn view( & self ) -> Map <Key , Value >;
168168}
169169
170- #[ cfg( all( feature = "alloc" , not( verus_keep_ghost) , not( feature = "allocator" ) ) ) ]
170+ #[ cfg( all( feature = "alloc" , feature = "std" , not( verus_keep_ghost) , not( feature = "allocator" ) ) ) ]
171171impl <Key : DeepView , Value : DeepView , S > DeepView for std:: collections:: HashMap <Key , Value , S > {
172172 type V = Map <Key :: V , Value :: V >;
173173
@@ -176,14 +176,14 @@ impl<Key: DeepView, Value: DeepView, S> DeepView for std::collections::HashMap<K
176176 }
177177}
178178
179- #[ cfg( all( feature = "alloc" , any( verus_keep_ghost, feature = "allocator" ) ) ) ]
179+ #[ cfg( all( feature = "alloc" , feature = "std" , any( verus_keep_ghost, feature = "allocator" ) ) ) ]
180180impl <Key , S , A : core:: alloc:: Allocator > View for std:: collections:: HashSet <Key , S , A > {
181181 type V = Set <Key >;
182182
183183 uninterp spec fn view( & self ) -> Set <Key >;
184184}
185185
186- #[ cfg( all( feature = "alloc" , any( verus_keep_ghost, feature = "allocator" ) ) ) ]
186+ #[ cfg( all( feature = "alloc" , feature = "std" , any( verus_keep_ghost, feature = "allocator" ) ) ) ]
187187impl <Key : DeepView , S , A : core:: alloc:: Allocator > DeepView for std:: collections:: HashSet <
188188 Key ,
189189 S ,
@@ -196,14 +196,14 @@ impl<Key: DeepView, S, A: core::alloc::Allocator> DeepView for std::collections:
196196 }
197197}
198198
199- #[ cfg( all( feature = "alloc" , not( verus_keep_ghost) , not( feature = "allocator" ) ) ) ]
199+ #[ cfg( all( feature = "alloc" , feature = "std" , not( verus_keep_ghost) , not( feature = "allocator" ) ) ) ]
200200impl <Key , S > View for std:: collections:: HashSet <Key , S > {
201201 type V = Set <Key >;
202202
203203 uninterp spec fn view( & self ) -> Set <Key >;
204204}
205205
206- #[ cfg( all( feature = "alloc" , not( verus_keep_ghost) , not( feature = "allocator" ) ) ) ]
206+ #[ cfg( all( feature = "alloc" , feature = "std" , not( verus_keep_ghost) , not( feature = "allocator" ) ) ) ]
207207impl <Key : DeepView , S > DeepView for std:: collections:: HashSet <Key , S > {
208208 type V = Set <Key :: V >;
209209
0 commit comments