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 @@ -281,36 +281,31 @@ extern crate libc;
281281
282282#[ macro_use] #[ no_link] extern crate rustc_bitflags;
283283
284- // Make std testable by not duplicating lang items. See #2912
284+ // Make std testable by not duplicating lang items and other globals . See #2912
285285#[ cfg( test) ] extern crate std as realstd;
286- #[ cfg( test) ] pub use realstd:: marker;
287- #[ cfg( test) ] pub use realstd:: ops;
288- #[ cfg( test) ] pub use realstd:: cmp;
289- #[ cfg( test) ] pub use realstd:: boxed;
290-
291286
292287// NB: These reexports are in the order they should be listed in rustdoc
293288
294289pub use core:: any;
295290pub use core:: cell;
296291pub use core:: clone;
297- # [ cfg ( not ( test ) ) ] pub use core:: cmp;
292+ pub use core:: cmp;
298293pub use core:: convert;
299294pub use core:: default;
300295pub use core:: hash;
301296pub use core:: intrinsics;
302297pub use core:: iter;
303- # [ cfg ( not ( test ) ) ] pub use core:: marker;
298+ pub use core:: marker;
304299pub use core:: mem;
305- # [ cfg ( not ( test ) ) ] pub use core:: ops;
300+ pub use core:: ops;
306301pub use core:: ptr;
307302pub use core:: raw;
308303pub use core:: simd;
309304pub use core:: result;
310305pub use core:: option;
311306pub mod error;
312307
313- # [ cfg ( not ( test ) ) ] pub use alloc:: boxed;
308+ pub use alloc:: boxed;
314309pub use alloc:: rc;
315310
316311pub use core_collections:: borrow;
You can’t perform that action at this time.
0 commit comments