]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/send-is-not-static-ensures-scoping.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / compile-fail / send-is-not-static-ensures-scoping.rs
index 2e401ba6e9085929d1621640eee1214b74798667..1b7718d2283a7bfd6a617c112f8a5d19bdd209a6 100644 (file)
@@ -26,8 +26,8 @@ fn main() {
         let y = &x; //~ ERROR `x` does not live long enough
 
         scoped(|| {
-            //~^ ERROR `y` does not live long enough
             let _z = y;
+            //~^ ERROR `y` does not live long enough
         })
     };