]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/union/union-copy.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / union / union-copy.rs
index 5c3f8d90898199ad9911a73886623b6eab1af339..7ad0a11c6ac6e99e933218ecf491c252bf620a3e 100644 (file)
@@ -9,6 +9,6 @@ union W {
 }
 
 impl Copy for U {} // OK
-impl Copy for W {} //~ ERROR the trait `Copy` may not be implemented for this type
+impl Copy for W {} //~ ERROR the trait `Copy` cannot be implemented for this type
 
 fn main() {}