Pop include path stack

This commit is contained in:
Kogia-sima 2020-06-07 03:21:17 +09:00
parent e7c0992568
commit 76abe1c0ac
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ impl<'s, 'h> VisitMut for ResolverImpl<'s, 'h> {
self.path_stack.push(input_file);
self.deps.push(arg);
syn::visit_mut::visit_block_mut(self, &mut blk);
self.path_stack.pop();
*i = Expr::Block(ExprBlock {
attrs: Vec::new(),