]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/underscore-lifetime/underscore-lifetime-elison-mismatch.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / underscore-lifetime / underscore-lifetime-elison-mismatch.rs
index 6d495138da9e3d24f745b2964562915cc5fef5d5..c611268849ab502a16faad4785cbada6c020915a 100644 (file)
@@ -1,9 +1,4 @@
-// revisions: base nll
-// ignore-compare-mode-nll
-//[nll] compile-flags: -Z borrowck=mir
-
 fn foo(x: &mut Vec<&'_ u8>, y: &'_ u8) { x.push(y); }
-//[base]~^ ERROR lifetime mismatch
-//[nll]~^^ ERROR lifetime may not live long enough
+//~^ ERROR lifetime may not live long enough
 
 fn main() {}