File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -179,36 +179,31 @@ extern crate libc;
179179
180180#[ macro_use] #[ no_link] extern crate rustc_bitflags;
181181
182- // Make std testable by not duplicating lang items. See #2912
182+ // Make std testable by not duplicating lang items and other globals . See #2912
183183#[ cfg( test) ] extern crate std as realstd;
184- #[ cfg( test) ] pub use realstd:: marker;
185- #[ cfg( test) ] pub use realstd:: ops;
186- #[ cfg( test) ] pub use realstd:: cmp;
187- #[ cfg( test) ] pub use realstd:: boxed;
188-
189184
190185// NB: These reexports are in the order they should be listed in rustdoc
191186
192187pub use core:: any;
193188pub use core:: cell;
194189pub use core:: clone;
195- # [ cfg ( not ( test ) ) ] pub use core:: cmp;
190+ pub use core:: cmp;
196191pub use core:: convert;
197192pub use core:: default;
198193pub use core:: hash;
199194pub use core:: intrinsics;
200195pub use core:: iter;
201- # [ cfg ( not ( test ) ) ] pub use core:: marker;
196+ pub use core:: marker;
202197pub use core:: mem;
203- # [ cfg ( not ( test ) ) ] pub use core:: ops;
198+ pub use core:: ops;
204199pub use core:: ptr;
205200pub use core:: raw;
206201pub use core:: simd;
207202pub use core:: result;
208203pub use core:: option;
209204pub mod error;
210205
211- # [ cfg ( not ( test ) ) ] pub use alloc:: boxed;
206+ pub use alloc:: boxed;
212207pub use alloc:: rc;
213208
214209pub use core_collections:: borrow;
You can’t perform that action at this time.
0 commit comments