summaryrefslogtreecommitdiffstats
path: root/library/std/src/error/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/error/tests.rs')
-rw-r--r--library/std/src/error/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/error/tests.rs b/library/std/src/error/tests.rs
index ee999bd65..ed070a26b 100644
--- a/library/std/src/error/tests.rs
+++ b/library/std/src/error/tests.rs
@@ -1,6 +1,6 @@
use super::Error;
use crate::fmt;
-use core::any::Demand;
+use core::error::Request;
#[derive(Debug, PartialEq)]
struct A;
@@ -199,7 +199,7 @@ where
self.source.as_deref()
}
- fn provide<'a>(&'a self, req: &mut Demand<'a>) {
+ fn provide<'a>(&'a self, req: &mut Request<'a>) {
self.backtrace.as_ref().map(|bt| req.provide_ref::<Backtrace>(bt));
}
}