diff options
| author | Boxy <supbscripter@gmail.com> | 2024-05-24 01:57:06 +0100 |
|---|---|---|
| committer | Boxy <supbscripter@gmail.com> | 2024-05-24 18:06:53 +0100 |
| commit | fe2d7794ca189f9ec5e7f7fd9b059e7a2e785944 (patch) | |
| tree | 413bf0fd0b2510dc3b96903eaf538c7231a47661 /compiler/rustc_ty_utils/src/implied_bounds.rs | |
| parent | bd6344d829a9917298b73253ee0c3ecd0eb1460d (diff) | |
| download | rust-fe2d7794ca189f9ec5e7f7fd9b059e7a2e785944.tar.gz rust-fe2d7794ca189f9ec5e7f7fd9b059e7a2e785944.zip | |
Remove `DefId` from `EarlyParamRegion` (tedium/diagnostics)
Diffstat (limited to 'compiler/rustc_ty_utils/src/implied_bounds.rs')
| -rw-r--r-- | compiler/rustc_ty_utils/src/implied_bounds.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_ty_utils/src/implied_bounds.rs b/compiler/rustc_ty_utils/src/implied_bounds.rs index e87058f9ba4..6f71951b516 100644 --- a/compiler/rustc_ty_utils/src/implied_bounds.rs +++ b/compiler/rustc_ty_utils/src/implied_bounds.rs @@ -79,11 +79,7 @@ fn assumed_wf_types<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> &'tcx [(Ty<' orig_lt, ty::Region::new_early_param( tcx, - ty::EarlyParamRegion { - def_id: param.def_id, - index: param.index, - name: param.name, - }, + ty::EarlyParamRegion { index: param.index, name: param.name }, ), ); } |
