]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/regions/regions-infer-bound-from-trait-self.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / regions / regions-infer-bound-from-trait-self.rs
index d15bfffe9d92659ab02607409719b57af3c5540f..ef8be05b2d26a4688457f6a5e8be36f1fe898905 100644 (file)
@@ -1,6 +1,10 @@
 // Test that we can derive lifetime bounds on `Self` from trait
 // inheritance.
 
+// revisions: base nll
+// ignore-compare-mode-nll
+//[nll] compile-flags: -Z borrowck=mir
+
 trait Static : 'static { }
 
 trait Is<'a> : 'a { }