]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-17651.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-17651.rs
index 9e49abc463f15491906c9a402f844437ebdb980f..0fe01ece558ee0d9a4b8f3fbdcc431252dc932d2 100644 (file)
@@ -14,5 +14,5 @@
 fn main() {
     // FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
     (|| Box::new(*(&[0][..])))();
-    //~^ ERROR the trait `core::marker::Sized` is not implemented for the type `[_]`
+    //~^ ERROR `[_]: std::marker::Sized` is not satisfied
 }