| 81 | /// `dyn_error_and_concrete_error_layouts_are_compatible` test below. |
| 82 | #[repr(C)] |
| 83 | pub(crate) struct DynError { |
| 84 | // Safety: this vtable must always be associated with the `E` for the |
| 85 | // `ConcreteError<E>` that this `DynError` is punning. |
| 86 | pub(crate) vtable: &'static Vtable, |
| 87 | #[cfg(feature = "backtrace")] |
| 88 | pub(crate) backtrace: Option<Backtrace>, |
| 89 | // error: <?> |
| 90 | } |
| 91 | |
| 92 | /// A `dyn ErrorExt` trait object that we know the concrete type of. |
| 93 | /// |
no outgoing calls
no test coverage detected