MCPcopy Create free account
hub / github.com/dtolnay/thiserror / has_backtrace

Method has_backtrace

impl/src/prop.rs:32–36  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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()

Callers 1

impl_enumFunction · 0.80

Calls 1

backtrace_fieldMethod · 0.80

Tested by

no test coverage detected