]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/borrowck-thread-local-static-borrow-outlives-fn.mir.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / borrowck / borrowck-thread-local-static-borrow-outlives-fn.mir.stderr
index 34d08a026dd3563d2d169125854a636428a8b818..d2b6e060569174ba6e4bf7c58cb7fcded61835bd 100644 (file)
@@ -1,9 +1,9 @@
 error[E0712]: thread-local variable borrowed past end of function
   --> $DIR/borrowck-thread-local-static-borrow-outlives-fn.rs:11:20
    |
-LL |      assert_static(&FOO); //[ast]~ ERROR [E0597]
+LL |      assert_static(&FOO);
    |                    ^^^^ thread-local variables cannot be borrowed beyond the end of the function
-LL |                           //[mir]~^ ERROR [E0712]
+LL |
 LL | }
    | - end of enclosing function is here