Refactor FnKind variant to hold &Fn
This commit is contained in:
parent
2f348cb7ce
commit
c22a27130d
12 changed files with 93 additions and 91 deletions
|
@ -2125,7 +2125,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
self.arena.alloc(self.expr_call_mut(span, e, args))
|
||||
}
|
||||
|
||||
fn expr_call_lang_item_fn_mut(
|
||||
pub(super) fn expr_call_lang_item_fn_mut(
|
||||
&mut self,
|
||||
span: Span,
|
||||
lang_item: hir::LangItem,
|
||||
|
@ -2135,7 +2135,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
self.expr_call_mut(span, path, args)
|
||||
}
|
||||
|
||||
fn expr_call_lang_item_fn(
|
||||
pub(super) fn expr_call_lang_item_fn(
|
||||
&mut self,
|
||||
span: Span,
|
||||
lang_item: hir::LangItem,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue