1
Fork 0

Remove hir::Param::attrs.

This commit is contained in:
Camille GILLOT 2020-11-26 23:51:27 +01:00
parent 96788df68c
commit a0a4611a81
4 changed files with 3 additions and 5 deletions

View file

@ -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| {