]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/nll/ty-outlives/impl-trait-captures.rs
New upstream version 1.27.1+dfsg1
[rustc.git] / src / test / ui / nll / ty-outlives / impl-trait-captures.rs
index 571bd9fd76e86eb011759b94af1a452c73105a34..f21127064d4c2ee1880b2e22300242ea85d55fa8 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// compile-flags:-Znll -Zborrowck=mir -Zverbose
+// compile-flags:-Zborrowck=mir -Zverbose
 
 #![allow(warnings)]
 
@@ -19,7 +19,7 @@ impl<'a, T> Foo<'a> for T { }
 
 fn foo<'a, T>(x: &T) -> impl Foo<'a> {
     x
-        //~^ WARNING not reporting region error due to -Znll
+        //~^ WARNING not reporting region error due to nll
         //~| ERROR explicit lifetime required in the type of `x` [E0621]
 }