style library/core/src/error.rs
This commit is contained in:
parent
4cdd20584c
commit
624f9d3c78
@ -183,6 +183,7 @@ fn cause(&self) -> Option<&dyn Error> {
|
||||
#[allow(unused_variables)]
|
||||
fn provide<'a>(&'a self, request: &mut Request<'a>) {}
|
||||
}
|
||||
|
||||
mod private {
|
||||
// This is a hack to prevent `type_id` from being overridden by `Error`
|
||||
// implementations, since that can enable unsound downcasting.
|
||||
|
Loading…
Reference in New Issue
Block a user