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.
2 parents 240d0ad + 624f9d3 commit 5b66e00Copy full SHA for 5b66e00
library/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