File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
//! Traits for working with Errors.
2
2
3
- #![ stable ( feature = "rust1 " , since = "1.0. 0" ) ]
3
+ #![ unstable ( feature = "alloc_error " , reason = "Error trait in liballoc is unstable" , issue= " 0") ]
4
4
5
5
// A note about crates and the facade:
6
6
//
Original file line number Diff line number Diff line change 229
229
// compiler details that will never be stable
230
230
// NB: the following list is sorted to minimize merge conflicts.
231
231
#![ feature( alloc_error_handler) ]
232
+ #![ feature( alloc_error) ]
232
233
#![ feature( alloc_layout_extra) ]
233
234
#![ feature( allocator_api) ]
234
235
#![ feature( allocator_internals) ]
@@ -447,9 +448,6 @@ pub use core::hint;
447
448
#[ stable( feature = "core_array" , since = "1.36.0" ) ]
448
449
pub use core:: array;
449
450
450
- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
451
- pub use alloc_crate:: error;
452
-
453
451
pub mod f32;
454
452
pub mod f64;
455
453
@@ -481,6 +479,14 @@ pub mod task {
481
479
#[ stable( feature = "futures_api" , since = "1.36.0" ) ]
482
480
pub mod future;
483
481
482
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
483
+ pub mod error {
484
+ //! Traits for working with Errors.
485
+
486
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
487
+ pub use alloc_crate:: error:: * ;
488
+ }
489
+
484
490
// Platform-abstraction modules
485
491
#[ macro_use]
486
492
mod sys_common;
You can’t perform that action at this time.
0 commit comments