(&self)
| 30 | } |
| 31 | |
| 32 | pub(crate) fn has_backtrace(&self) -> bool { |
| 33 | self.variants |
| 34 | .iter() |
| 35 | .any(|variant| variant.backtrace_field().is_some()) |
| 36 | } |
| 37 | |
| 38 | pub(crate) fn has_display(&self) -> bool { |
| 39 | self.attrs.display.is_some() |
no test coverage detected