Remove unused Handler::treat_err_as_bug.

This commit is contained in:
Nicholas Nethercote 2023-12-14 15:47:03 +11:00
parent 028b6d152e
commit 43a0f55506

View file

@ -585,11 +585,6 @@ impl Handler {
self
}
pub fn treat_err_as_bug(mut self, treat_err_as_bug: NonZeroUsize) -> Self {
self.inner.get_mut().flags.treat_err_as_bug = Some(treat_err_as_bug);
self
}
pub fn with_flags(mut self, flags: HandlerFlags) -> Self {
self.inner.get_mut().flags = flags;
self