pub(crate) fn ensure_compatible_types<T, E>() -> Result<(), Error>