Skip to content

Commit fb07077

Browse files
committed
add missing feature(error_in_core)
1 parent d7e7510 commit fb07077

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: library/core/src/error.rs

+10
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ pub trait Error: Debug + Display {
130130
///
131131
/// ```rust
132132
/// #![feature(error_generic_member_access)]
133+
/// #![feature(error_in_core)]
133134
/// use core::fmt;
134135
/// use core::error::{request_ref, Request};
135136
///
@@ -360,6 +361,7 @@ impl dyn Error {
360361
///
361362
/// ```rust
362363
/// # #![feature(error_generic_member_access)]
364+
/// # #![feature(error_in_core)]
363365
/// use std::error::Error;
364366
/// use core::error::request_value;
365367
///
@@ -383,6 +385,7 @@ where
383385
///
384386
/// ```rust
385387
/// # #![feature(error_generic_member_access)]
388+
/// # #![feature(error_in_core)]
386389
/// use core::error::Error;
387390
/// use core::error::request_ref;
388391
///
@@ -454,6 +457,7 @@ where
454457
///
455458
/// ```
456459
/// #![feature(error_generic_member_access)]
460+
/// #![feature(error_in_core)]
457461
/// use core::fmt;
458462
/// use core::error::Request;
459463
/// use core::error::request_ref;
@@ -524,6 +528,7 @@ impl<'a> Request<'a> {
524528
///
525529
/// ```rust
526530
/// #![feature(error_generic_member_access)]
531+
/// #![feature(error_in_core)]
527532
///
528533
/// use core::error::Request;
529534
///
@@ -558,6 +563,7 @@ impl<'a> Request<'a> {
558563
///
559564
/// ```rust
560565
/// #![feature(error_generic_member_access)]
566+
/// #![feature(error_in_core)]
561567
///
562568
/// use core::error::Request;
563569
///
@@ -593,6 +599,7 @@ impl<'a> Request<'a> {
593599
///
594600
/// ```rust
595601
/// #![feature(error_generic_member_access)]
602+
/// #![feature(error_in_core)]
596603
///
597604
/// use core::error::Request;
598605
///
@@ -625,6 +632,7 @@ impl<'a> Request<'a> {
625632
///
626633
/// ```rust
627634
/// #![feature(error_generic_member_access)]
635+
/// #![feature(error_in_core)]
628636
///
629637
/// use core::error::Request;
630638
///
@@ -691,6 +699,7 @@ impl<'a> Request<'a> {
691699
///
692700
/// ```rust
693701
/// #![feature(error_generic_member_access)]
702+
/// #![feature(error_in_core)]
694703
///
695704
/// use core::error::Request;
696705
/// use core::error::request_value;
@@ -778,6 +787,7 @@ impl<'a> Request<'a> {
778787
///
779788
/// ```rust
780789
/// #![feature(error_generic_member_access)]
790+
/// #![feature(error_in_core)]
781791
///
782792
/// use core::error::Request;
783793
/// use core::error::request_ref;

0 commit comments

Comments
 (0)