Macro pyo3_macros_backend::utils::err_spanned

source ·
macro_rules! err_spanned {
    ($span:expr => $msg:expr) => { ... };
}
Expand description

Macro inspired by anyhow::anyhow! to create a compiler error with the given span.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here