mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-20 16:26:33 +00:00
Convert some more macro panics to diagnostics (#611)
This should hopefully be the last of the manually written diagnostics!
This commit is contained in:
@ -4,7 +4,7 @@ use quote::ToTokens;
|
||||
#[macro_export]
|
||||
macro_rules! err_span {
|
||||
($span:expr, $($msg:tt)*) => (
|
||||
::backend::Diagnostic::span_error(&$span, format!($($msg)*))
|
||||
$crate::Diagnostic::span_error(&$span, format!($($msg)*))
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user