use line!, col!, and row! instead of panic location
This commit is contained in:
1 parent
21206390f8
commit
dd335cda59
2 files changed
+18
-10
No files matched your search
@@ -47,7 +47,7 @@ pub fn rsx(s: TokenStream) -> TokenStream {
|
||||
Ok(captured) => {
|
||||
let lazy = quote::quote! {
|
||||
LazyNodes::new(move |__cx|{
|
||||
let code_location = get_line_num();
|
||||
let code_location = get_line_num!();
|
||||
let captured = #captured;
|
||||
let text = #rsx_text;
|
||||
|
||||
|
||||
Reference in new issue
Block a user