22
22
//! completion, but *do not block* the thread running them.
23
23
24
24
#![ cfg_attr( feature = "cfg-target-has-atomic" , feature( cfg_target_has_atomic) ) ]
25
- #![ cfg_attr( feature = "never-type" , feature( never_type) ) ]
26
25
27
26
#![ cfg_attr( not( feature = "std" ) , no_std) ]
28
27
@@ -41,9 +40,6 @@ compile_error!("The `async-await` feature requires the `nightly` feature as an e
41
40
#[ cfg( all( feature = "cfg-target-has-atomic" , not( feature = "nightly" ) ) ) ]
42
41
compile_error ! ( "The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features" ) ;
43
42
44
- #[ cfg( all( feature = "never-type" , not( feature = "nightly" ) ) ) ]
45
- compile_error ! ( "The `never-type` feature requires the `nightly` feature as an explicit opt-in to unstable features" ) ;
46
-
47
43
#[ doc( hidden) ] pub use futures_core:: core_reexport;
48
44
49
45
#[ doc( hidden) ] pub use futures_core:: future:: Future ;
@@ -227,6 +223,7 @@ pub mod future {
227
223
228
224
FutureExt ,
229
225
FlattenStream , Flatten , Fuse , Inspect , IntoStream , Map , Then , UnitError ,
226
+ NeverError ,
230
227
} ;
231
228
232
229
#[ cfg( feature = "alloc" ) ]
@@ -261,9 +258,6 @@ pub mod future {
261
258
InspectOk , InspectErr , TryFlattenStream , UnwrapOrElse ,
262
259
} ;
263
260
264
- #[ cfg( feature = "never-type" ) ]
265
- pub use futures_util:: future:: NeverError ;
266
-
267
261
#[ cfg( feature = "alloc" ) ]
268
262
pub use futures_util:: try_future:: {
269
263
try_join_all, TryJoinAll ,
0 commit comments