diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-26 23:51:27 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-03-09 19:23:06 +0100 |
| commit | a0a4611a8166d79a20b3d8db3eed80bb956ced61 (patch) | |
| tree | 136e8f6c6949d32df36b2377437c0a9c02dd9aaa /compiler/rustc_ast_lowering/src/expr.rs | |
| parent | 96788df68c3a781ddcc7c3cc2e81371283570327 (diff) | |
| download | rust-a0a4611a8166d79a20b3d8db3eed80bb956ced61.tar.gz rust-a0a4611a8166d79a20b3d8db3eed80bb956ced61.zip | |
Remove hir::Param::attrs.
Diffstat (limited to 'compiler/rustc_ast_lowering/src/expr.rs')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/expr.rs b/compiler/rustc_ast_lowering/src/expr.rs index 8152356bd35..8e3ed595b38 100644 --- a/compiler/rustc_ast_lowering/src/expr.rs +++ b/compiler/rustc_ast_lowering/src/expr.rs @@ -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| { |
