Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3f48168

Browse files
committedJun 7, 2024
Stabilize error_in_core
1 parent 29932f3 commit 3f48168

File tree

4 files changed

+1
-14
lines changed

4 files changed

+1
-14
lines changed
 

‎alloc/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@
121121
#![feature(deref_pure_trait)]
122122
#![feature(dispatch_from_dyn)]
123123
#![feature(error_generic_member_access)]
124-
#![feature(error_in_core)]
125124
#![feature(exact_size_is_empty)]
126125
#![feature(extend_one)]
127126
#![feature(fmt_internals)]

‎core/src/error.rs

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![doc = include_str!("error.md")]
2-
#![unstable(feature = "error_in_core", issue = "103765")]
2+
#![stable(feature = "error_in_core", since = "CURRENT_RUSTC_VERSION")]
33

44
#[cfg(test)]
55
mod tests;
@@ -130,7 +130,6 @@ pub trait Error: Debug + Display {
130130
///
131131
/// ```rust
132132
/// #![feature(error_generic_member_access)]
133-
/// #![feature(error_in_core)]
134133
/// use core::fmt;
135134
/// use core::error::{request_ref, Request};
136135
///
@@ -362,7 +361,6 @@ impl dyn Error {
362361
///
363362
/// ```rust
364363
/// # #![feature(error_generic_member_access)]
365-
/// # #![feature(error_in_core)]
366364
/// use std::error::Error;
367365
/// use core::error::request_value;
368366
///
@@ -386,7 +384,6 @@ where
386384
///
387385
/// ```rust
388386
/// # #![feature(error_generic_member_access)]
389-
/// # #![feature(error_in_core)]
390387
/// use core::error::Error;
391388
/// use core::error::request_ref;
392389
///
@@ -458,7 +455,6 @@ where
458455
///
459456
/// ```
460457
/// #![feature(error_generic_member_access)]
461-
/// #![feature(error_in_core)]
462458
/// use core::fmt;
463459
/// use core::error::Request;
464460
/// use core::error::request_ref;
@@ -529,7 +525,6 @@ impl<'a> Request<'a> {
529525
///
530526
/// ```rust
531527
/// #![feature(error_generic_member_access)]
532-
/// #![feature(error_in_core)]
533528
///
534529
/// use core::error::Request;
535530
///
@@ -564,7 +559,6 @@ impl<'a> Request<'a> {
564559
///
565560
/// ```rust
566561
/// #![feature(error_generic_member_access)]
567-
/// #![feature(error_in_core)]
568562
///
569563
/// use core::error::Request;
570564
///
@@ -600,7 +594,6 @@ impl<'a> Request<'a> {
600594
///
601595
/// ```rust
602596
/// #![feature(error_generic_member_access)]
603-
/// #![feature(error_in_core)]
604597
///
605598
/// use core::error::Request;
606599
///
@@ -633,7 +626,6 @@ impl<'a> Request<'a> {
633626
///
634627
/// ```rust
635628
/// #![feature(error_generic_member_access)]
636-
/// #![feature(error_in_core)]
637629
///
638630
/// use core::error::Request;
639631
///
@@ -700,7 +692,6 @@ impl<'a> Request<'a> {
700692
///
701693
/// ```rust
702694
/// #![feature(error_generic_member_access)]
703-
/// #![feature(error_in_core)]
704695
///
705696
/// use core::error::Request;
706697
/// use core::error::request_value;
@@ -788,7 +779,6 @@ impl<'a> Request<'a> {
788779
///
789780
/// ```rust
790781
/// #![feature(error_generic_member_access)]
791-
/// #![feature(error_in_core)]
792782
///
793783
/// use core::error::Request;
794784
/// use core::error::request_ref;

‎core/tests/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
#![feature(const_slice_from_ref)]
113113
#![feature(waker_getters)]
114114
#![feature(error_generic_member_access)]
115-
#![feature(error_in_core)]
116115
#![feature(trait_upcasting)]
117116
#![feature(is_ascii_octdigit)]
118117
#![feature(get_many_mut)]

‎std/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@
324324
#![feature(core_io_borrowed_buf)]
325325
#![feature(duration_constants)]
326326
#![feature(error_generic_member_access)]
327-
#![feature(error_in_core)]
328327
#![feature(error_iter)]
329328
#![feature(exact_size_is_empty)]
330329
#![feature(exclusive_wrapper)]

0 commit comments

Comments
 (0)
Failed to load comments.