Skip to content

Commit 6ee79df

Browse files
authored
Unrolled build for rust-lang#117434
Rollup merge of rust-lang#117434 - BugenZhao:box-error-provide, r=cuviper delegate `<Box<E> as Error>::provide` to `<E as Error>::provide` Fix rust-lang#117432.
2 parents adda05f + c872ccc commit 6ee79df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: library/alloc/src/boxed.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2444,4 +2444,8 @@ impl<T: core::error::Error> core::error::Error for Box<T> {
24442444
fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
24452445
core::error::Error::source(&**self)
24462446
}
2447+
2448+
fn provide<'b>(&'b self, request: &mut core::error::Request<'b>) {
2449+
core::error::Error::provide(&**self, request);
2450+
}
24472451
}

0 commit comments

Comments
 (0)