]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/check-static-immutable-mut-slices.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / test / compile-fail / check-static-immutable-mut-slices.rs
index 370cfe9d5501258044fcecb026b631670ad87d7e..1804b9e04c2c90eee2fa06afa026a2b5b005f6a5 100644 (file)
@@ -12,6 +12,5 @@
 
 static TEST: &'static mut [isize] = &mut [];
 //~^ ERROR references in statics may only refer to immutable values
-//~^^ ERROR references in statics may only refer to immutable values
 
 pub fn main() { }