]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_data_structures/src/transitive_relation.rs
Rollup merge of #106716 - c410-f3r:rfc-2397-1, r=davidtwco
[rust.git] / compiler / rustc_data_structures / src / transitive_relation.rs
index cf616203842a69d6a613704ad7c968b11d02e405..1ff0d58df140907129ac3d97d39a81ee10a3e630 100644 (file)
@@ -199,7 +199,7 @@ pub fn postdom_upper_bound(&self, a: T, b: T) -> Option<T> {
     /// Viewing the relation as a graph, computes the "mutual
     /// immediate postdominator" of a set of points (if one
     /// exists). See `postdom_upper_bound` for details.
-    pub fn mutual_immediate_postdominator<'a>(&'a self, mut mubs: Vec<T>) -> Option<T> {
+    pub fn mutual_immediate_postdominator(&self, mut mubs: Vec<T>) -> Option<T> {
         loop {
             match mubs.len() {
                 0 => return None,