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 4cdd205 commit 624f9d3Copy full SHA for 624f9d3
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