Skip to content

Commit

Permalink
Rollup merge of rust-lang#114973 - shepmaster:std-provide-value, r=Am…
Browse files Browse the repository at this point in the history
…anieu

Expose core::error::request_value in std

I think this was simply forgotten in rust-lang#113464.

/cc ``@waynr``

r? ``@Amanieu``
  • Loading branch information
matthiaskrgr committed Aug 19, 2023
2 parents cad8f8c + 74942da commit cbcdf75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/error.rs
Expand Up @@ -10,7 +10,7 @@ use crate::fmt::{self, Write};
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::error::Error;
#[unstable(feature = "error_generic_member_access", issue = "99301")]
pub use core::error::{request_ref, Request};
pub use core::error::{request_ref, request_value, Request};

mod private {
// This is a hack to prevent `type_id` from being overridden by `Error`
Expand Down

0 comments on commit cbcdf75

Please sign in to comment.