Skip to content

Commit

Permalink
Allow running tests under miri
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcc committed Jan 7, 2021
1 parent cb841d6 commit 87fdd9e
Show file tree
Hide file tree
Showing 5 changed files with 183 additions and 108 deletions.
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ where
}

fn source(&self) -> Option<&(dyn StdError + 'static)> {
Some(self.error.inner.error())
Some(unsafe { crate::ErrorImpl::error(self.error.inner) })
}
}

Expand Down
Loading

0 comments on commit 87fdd9e

Please sign in to comment.