diff options
| author | Michael Goulet <michael@errs.io> | 2024-11-25 17:38:28 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-11-25 17:38:28 +0000 |
| commit | d3867174c0cb26cb9ee2401464aa4f871a8940b1 (patch) | |
| tree | c1e3fa0f377383f08bd95c32a35f4b10cb0a6758 /compiler/rustc_hir_analysis/src | |
| parent | 7db7489f9bc274cb60c4956bfa56de0185eb1b9b (diff) | |
| download | rust-d3867174c0cb26cb9ee2401464aa4f871a8940b1.tar.gz rust-d3867174c0cb26cb9ee2401464aa4f871a8940b1.zip | |
Simplify object_region_bounds
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/hir_ty_lowering/dyn_compatibility.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/hir_ty_lowering/dyn_compatibility.rs b/compiler/rustc_hir_analysis/src/hir_ty_lowering/dyn_compatibility.rs index 5e27ace4cbe..3841bc2bb8a 100644 --- a/compiler/rustc_hir_analysis/src/hir_ty_lowering/dyn_compatibility.rs +++ b/compiler/rustc_hir_analysis/src/hir_ty_lowering/dyn_compatibility.rs @@ -194,7 +194,6 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ { for def_ids in associated_types.values_mut() { for (projection_bound, span) in &projection_bounds { let def_id = projection_bound.projection_def_id(); - // FIXME(#120456) - is `swap_remove` correct? def_ids.swap_remove(&def_id); if tcx.generics_require_sized_self(def_id) { tcx.emit_node_span_lint( |
