]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/traits/trait-object-macro-matcher.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / traits / trait-object-macro-matcher.rs
index a6852569f3a12b85cfd9c882a17671176c7c6d48..91097874997b4c10cb0f181a67c9f46c067f5375 100644 (file)
@@ -6,7 +6,7 @@ macro_rules! m {
 
 fn main() {
     m!(dyn Copy + Send + 'static);
-    //~^ ERROR the trait `std::marker::Copy` cannot be made into an object
+    //~^ ERROR the trait `Copy` cannot be made into an object
     m!(dyn 'static + Send);
     m!(dyn 'static +); //~ ERROR at least one trait is required for an object type
 }