@@ -41,6 +41,67 @@ pub use crate::option::Option::{self, None, Some};
41
41
#[ doc( no_inline) ]
42
42
pub use crate :: result:: Result :: { self , Err , Ok } ;
43
43
44
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
45
+ #[ doc( no_inline) ]
46
+ pub use crate :: cell:: { Cell , LazyCell , OnceCell , RefCell , SyncUnsafeCell , UnsafeCell } ;
47
+
48
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
49
+ #[ doc( no_inline) ]
50
+ pub use crate :: ffi:: {
51
+ c_char, c_double, c_float, c_int, c_long, c_longlong, c_ptrdiff_t, c_schar, c_short, c_size_t,
52
+ c_ssize_t, c_str, c_uchar, c_uint, c_ulong, c_ulonglong, c_ushort, c_void, CStr ,
53
+ } ;
54
+
55
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
56
+ #[ doc( no_inline) ]
57
+ pub use crate :: io:: { BorrowedBuf , BorrowedCursor } ;
58
+
59
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
60
+ #[ doc( no_inline) ]
61
+ pub use crate :: marker:: { PhantomData , PhantomPinned } ;
62
+
63
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
64
+ #[ doc( no_inline) ]
65
+ pub use crate :: mem:: { ManuallyDrop , MaybeUninit } ;
66
+
67
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
68
+ #[ doc( no_inline) ]
69
+ pub use crate :: net:: { IpAddr , Ipv4Addr , Ipv6Addr , SocketAddr , SocketAddrV4 , SocketAddrV6 } ;
70
+
71
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
72
+ #[ doc( no_inline) ]
73
+ pub use crate :: num:: {
74
+ NonZero , NonZeroI128 , NonZeroI16 , NonZeroI32 , NonZeroI64 , NonZeroI8 , NonZeroIsize , NonZeroU128 ,
75
+ NonZeroU16 , NonZeroU32 , NonZeroU64 , NonZeroU8 , NonZeroUsize ,
76
+ } ;
77
+
78
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
79
+ #[ doc( no_inline) ]
80
+ pub use crate :: panic:: PanicInfo ;
81
+
82
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
83
+ #[ doc( no_inline) ]
84
+ pub use crate :: pin:: Pin ;
85
+
86
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
87
+ #[ doc( no_inline) ]
88
+ pub use crate :: ptr:: NonNull ;
89
+
90
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
91
+ #[ doc( no_inline) ]
92
+ pub use crate :: sync:: atomic:: {
93
+ AtomicBool , AtomicI16 , AtomicI32 , AtomicI64 , AtomicI8 , AtomicIsize , AtomicPtr , AtomicU16 ,
94
+ AtomicU32 , AtomicU64 , AtomicU8 , AtomicUsize ,
95
+ } ;
96
+
97
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
98
+ #[ doc( no_inline) ]
99
+ pub use crate :: time:: Duration ;
100
+
101
+ #[ stable( feature = "core_prelude_extra" , since = "CURRENT_RUSTC_VERSION" ) ]
102
+ #[ doc( no_inline) ]
103
+ pub use crate :: ops:: ControlFlow ;
104
+
44
105
// Re-exported built-in macros
45
106
#[ stable( feature = "builtin_macro_prelude" , since = "1.38.0" ) ]
46
107
#[ doc( no_inline) ]
0 commit comments