Remove hir::Param::attrs.
This commit is contained in:
parent
96788df68c
commit
a0a4611a81
4 changed files with 3 additions and 5 deletions
|
@ -663,7 +663,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
Ident::with_dummy_span(sym::_task_context),
|
||||
hir::BindingAnnotation::Mutable,
|
||||
);
|
||||
let param = hir::Param { attrs: &[], hir_id: self.next_id(), pat, ty_span: span, span };
|
||||
let param = hir::Param { hir_id: self.next_id(), pat, ty_span: span, span };
|
||||
let params = arena_vec![self; param];
|
||||
|
||||
let body_id = self.lower_body(move |this| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue