about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-55796.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/issues/issue-55796.rs')
-rw-r--r--src/test/ui/issues/issue-55796.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/test/ui/issues/issue-55796.rs b/src/test/ui/issues/issue-55796.rs
index a0bc63dd2a7..a7b27a99929 100644
--- a/src/test/ui/issues/issue-55796.rs
+++ b/src/test/ui/issues/issue-55796.rs
@@ -1,7 +1,3 @@
-// revisions: base nll
-// ignore-compare-mode-nll
-//[nll] compile-flags: -Z borrowck=mir
-
 pub trait EdgeTrait<N> {
     fn target(&self) -> N;
 }
@@ -18,14 +14,12 @@ pub trait Graph<'a> {
 
     fn out_neighbors(&'a self, u: &Self::Node) -> Box<dyn Iterator<Item = Self::Node>> {
         Box::new(self.out_edges(u).map(|e| e.target()))
-        //[base]~^ ERROR cannot infer
-        //[nll]~^^ ERROR lifetime may not live long enough
+        //~^ ERROR lifetime may not live long enough
     }
 
     fn in_neighbors(&'a self, u: &Self::Node) -> Box<dyn Iterator<Item = Self::Node>> {
         Box::new(self.in_edges(u).map(|e| e.target()))
-        //[base]~^ ERROR cannot infer
-        //[nll]~^^ ERROR lifetime may not live long enough
+        //~^ ERROR lifetime may not live long enough
     }
 }