Pop include path stack
This commit is contained in:
parent
e7c0992568
commit
76abe1c0ac
|
@ -91,6 +91,7 @@ impl<'s, 'h> VisitMut for ResolverImpl<'s, 'h> {
|
||||||
self.path_stack.push(input_file);
|
self.path_stack.push(input_file);
|
||||||
self.deps.push(arg);
|
self.deps.push(arg);
|
||||||
syn::visit_mut::visit_block_mut(self, &mut blk);
|
syn::visit_mut::visit_block_mut(self, &mut blk);
|
||||||
|
self.path_stack.pop();
|
||||||
|
|
||||||
*i = Expr::Block(ExprBlock {
|
*i = Expr::Block(ExprBlock {
|
||||||
attrs: Vec::new(),
|
attrs: Vec::new(),
|
||||||
|
|
Loading…
Reference in New Issue