mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 23:35:07 +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(|| {
|
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,
|
mctx,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user