]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/borrowck/issue-47215-ice-from-drop-elab.rs
Update tests for changes to cannot move errors
[rust.git] / src / test / ui / borrowck / issue-47215-ice-from-drop-elab.rs
index 48dd14c4976cbe55e1ad76b14bfff64d07d0538c..e95a6b7c88b9574eddd2802dfb945777ff4c0be9 100644 (file)
@@ -14,7 +14,7 @@
 
 fn main() {
     unsafe {
-        let mut x = X; //~ ERROR cannot move out of static item [E0507]
+        let mut x = X; //~ ERROR cannot move out of static item `X` [E0507]
         let _y = x.get_mut();
     }
 }