Pass ImplTraitContext as &, there's no need for that to be &mut
This commit is contained in:
parent
669f2d4550
commit
861055094c
6 changed files with 84 additions and 107 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue