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 a7d9522 + 624f9d3 commit e5efeceCopy full SHA for e5efece
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