We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9aa88f commit a864db9Copy full SHA for a864db9
1 file changed
compiler/rustc_ast_lowering/src/item.rs
@@ -58,7 +58,7 @@ impl<'hir> ItemLowerer<'_, '_, 'hir> {
58
owner: NodeId,
59
f: impl FnOnce(&mut LoweringContext<'_, '_, 'hir>) -> hir::OwnerNode<'hir>,
60
) {
61
- let mut lctx = LoweringContext::new(self.tcx, self.ast_index, &mut self.resolver);
+ let mut lctx = LoweringContext::new(self.tcx, self.ast_index, self.resolver);
62
lctx.with_hir_id_owner(owner, |lctx| f(lctx));
63
64
for (def_id, info) in lctx.children {
0 commit comments