mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-29 05:51:32 +00:00
Add missing span information for parsing error
This commit is contained in:
parent
dd5e21f1de
commit
54be12a6e0
@ -867,7 +867,7 @@ const _: () = {
|
||||
.map_err(|e| {
|
||||
CompileError::no_file_info(
|
||||
format_args!("unable to parse template arguments: {e}"),
|
||||
Some(attr.path().span()),
|
||||
Some(e.span()),
|
||||
)
|
||||
})?;
|
||||
for arg in args {
|
||||
|
Loading…
x
Reference in New Issue
Block a user