Add missing span information for parsing error

This commit is contained in:
Guillaume Gomez 2025-07-29 21:50:08 +02:00 committed by René Kijewski
parent dd5e21f1de
commit 54be12a6e0

View File

@ -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 {