(&self)
| 24 | |
| 25 | impl Enum<'_> { |
| 26 | pub(crate) fn has_source(&self) -> bool { |
| 27 | self.variants |
| 28 | .iter() |
| 29 | .any(|variant| variant.source_field().is_some() || variant.attrs.transparent.is_some()) |
| 30 | } |
| 31 | |
| 32 | pub(crate) fn has_backtrace(&self) -> bool { |
| 33 | self.variants |
no test coverage detected