We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82de3fe commit c7c51c5Copy full SHA for c7c51c5
core/src/error.rs
@@ -183,6 +183,7 @@ pub trait Error: Debug + Display {
183
#[allow(unused_variables)]
184
fn provide<'a>(&'a self, request: &mut Request<'a>) {}
185
}
186
+
187
mod private {
188
// This is a hack to prevent `type_id` from being overridden by `Error`
189
// implementations, since that can enable unsound downcasting.
0 commit comments