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 authored Aug 19, 2023
2 parents a8d4e2a + 74942da commit 74eab3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/error.rs
Original file line number Diff line number Diff line change
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 74eab3d

Please sign in to comment.