We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 670ed37 commit 6e8df86Copy full SHA for 6e8df86
compiler/rustc_borrowck/src/type_check/free_region_relations.rs
@@ -158,13 +158,6 @@ impl UniversalRegionRelations<'_> {
158
self.outlives.contains(fr1, fr2)
159
}
160
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
-
168
/// Returns a vector of free regions `x` such that `fr1: x` is
169
/// known to hold.
170
pub(crate) fn regions_outlived_by(&self, fr1: RegionVid) -> Vec<RegionVid> {
0 commit comments