2222//! completion, but *do not block* the thread running them.
2323
2424#![ cfg_attr( feature = "cfg-target-has-atomic" , feature( cfg_target_has_atomic) ) ]
25- #![ cfg_attr( feature = "never-type" , feature( never_type) ) ]
2625
2726#![ cfg_attr( not( feature = "std" ) , no_std) ]
2827
@@ -41,9 +40,6 @@ compile_error!("The `async-await` feature requires the `nightly` feature as an e
4140#[ cfg( all( feature = "cfg-target-has-atomic" , not( feature = "nightly" ) ) ) ]
4241compile_error ! ( "The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features" ) ;
4342
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-
4743#[ doc( hidden) ] pub use futures_core:: core_reexport;
4844
4945#[ doc( hidden) ] pub use futures_core:: future:: Future ;
@@ -227,6 +223,7 @@ pub mod future {
227223
228224 FutureExt ,
229225 FlattenStream , Flatten , Fuse , Inspect , IntoStream , Map , Then , UnitError ,
226+ NeverError ,
230227 } ;
231228
232229 #[ cfg( feature = "alloc" ) ]
@@ -261,9 +258,6 @@ pub mod future {
261258 InspectOk , InspectErr , TryFlattenStream , UnwrapOrElse ,
262259 } ;
263260
264- #[ cfg( feature = "never-type" ) ]
265- pub use futures_util:: future:: NeverError ;
266-
267261 #[ cfg( feature = "alloc" ) ]
268262 pub use futures_util:: try_future:: {
269263 try_join_all, TryJoinAll ,
0 commit comments