1
Fork 0

Pass ImplTraitContext as &, there's no need for that to be &mut

This commit is contained in:
Santiago Pastorino 2022-09-14 17:39:52 -03:00
parent 669f2d4550
commit 861055094c
No known key found for this signature in database
GPG key ID: 8131A24E0C79EFAF
6 changed files with 84 additions and 107 deletions

View file

@ -220,7 +220,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
&sym.qself,
&sym.path,
ParamMode::Optional,
&mut ImplTraitContext::Disallowed(ImplTraitPosition::Path),
&ImplTraitContext::Disallowed(ImplTraitPosition::Path),
);
hir::InlineAsmOperand::SymStatic { path, def_id }
} else {