Skip to content

Commit c5fad6f

Browse files
committed
These clones are no longer needed.
1 parent 42f65e9 commit c5fad6f

3 files changed

Lines changed: 0 additions & 4 deletions

File tree

compiler/rustc_borrowck/src/type_check/free_region_relations.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ use crate::type_check::{Locations, MirTypeckRegionConstraints, constraint_conver
1919
use crate::universal_regions::UniversalRegions;
2020

2121
#[derive(Debug)]
22-
#[derive(Clone)] // FIXME(#146079)
2322
pub(crate) struct UniversalRegionRelations<'tcx> {
2423
pub(crate) universal_regions: UniversalRegions<'tcx>,
2524

compiler/rustc_borrowck/src/type_check/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ pub(crate) struct MirTypeckResults<'tcx> {
265265

266266
/// A collection of region constraints that must be satisfied for the
267267
/// program to be considered well-typed.
268-
#[derive(Clone)] // FIXME(#146079)
269268
pub(crate) struct MirTypeckRegionConstraints<'tcx> {
270269
/// Maps from a `ty::Placeholder` to the corresponding
271270
/// `PlaceholderIndex` bit that we will use for it.

compiler/rustc_borrowck/src/universal_regions.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ use crate::BorrowckInferCtxt;
3737
use crate::renumber::RegionCtxt;
3838

3939
#[derive(Debug)]
40-
#[derive(Clone)] // FIXME(#146079)
4140
pub(crate) struct UniversalRegions<'tcx> {
4241
indices: UniversalRegionIndices<'tcx>,
4342

@@ -201,7 +200,6 @@ impl<'tcx> DefiningTy<'tcx> {
201200
}
202201

203202
#[derive(Debug)]
204-
#[derive(Clone)] // FIXME(#146079)
205203
struct UniversalRegionIndices<'tcx> {
206204
/// For those regions that may appear in the parameter environment
207205
/// ('static and early-bound regions), we maintain a map from the

0 commit comments

Comments
 (0)