Skip to content

Commit 6e8df86

Browse files
committed
w
1 parent 670ed37 commit 6e8df86

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

compiler/rustc_borrowck/src/type_check/free_region_relations.rs

-7
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,6 @@ impl UniversalRegionRelations<'_> {
158158
self.outlives.contains(fr1, fr2)
159159
}
160160

161-
/// Returns `true` if fr1 is known to equal fr2.
162-
///
163-
/// This will only ever be true for universally quantified regions.
164-
pub(crate) fn equal(&self, fr1: RegionVid, fr2: RegionVid) -> bool {
165-
self.outlives.contains(fr1, fr2) && self.outlives.contains(fr2, fr1)
166-
}
167-
168161
/// Returns a vector of free regions `x` such that `fr1: x` is
169162
/// known to hold.
170163
pub(crate) fn regions_outlived_by(&self, fr1: RegionVid) -> Vec<RegionVid> {

0 commit comments

Comments
 (0)