Skip to content

Commit

Permalink
fix error span
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Feb 1, 2025
1 parent a73d945 commit 4665b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leptos_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ fn component_macro(
}
}
Err(e) => {
proc_macro_error2::abort!(e);
proc_macro_error2::abort!(e.span(), e);
}
}
}.into()
Expand Down

0 comments on commit 4665b04

Please sign in to comment.