Macro pyo3_macros_backend::utils::bail_spanned
source · macro_rules! bail_spanned { ($span:expr => $msg:expr) => { ... }; }
Expand description
Macro inspired by anyhow::bail!
to return a compiler error with the given span.
macro_rules! bail_spanned { ($span:expr => $msg:expr) => { ... }; }
Macro inspired by anyhow::bail!
to return a compiler error with the given span.