mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-29 22:11:17 +00:00
Fixed not found in scope error
This commit is contained in:
parent
c7b87bae4f
commit
92df4d1fe4
@ -698,7 +698,7 @@ impl<'a, S: std::hash::BuildHasher> Generator<'a, S> {
|
||||
})?;
|
||||
(
|
||||
mctx.macros.get(name).ok_or_else(|| {
|
||||
CompileError::String(format!("macro '{}' not found in scope '{}'", s, name))
|
||||
CompileError::String(format!("macro '{}' not found in scope '{}'", name, s))
|
||||
})?,
|
||||
mctx,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user