macro_rules! error_or_panic { ($ctx:expr, $span:expr, $msg:expr) => { ... }; ($ctx:expr, $krate:expr, $span:expr, $msg:expr) => { ... }; }
Expand description
Macro to either panic or return on error, depending on the CLI options
macro_rules! error_or_panic { ($ctx:expr, $span:expr, $msg:expr) => { ... }; ($ctx:expr, $krate:expr, $span:expr, $msg:expr) => { ... }; }
Macro to either panic or return on error, depending on the CLI options