]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-14366.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-14366.stderr
index 4e41acf433e599889fd76c95814411db40293920..d5dab561ddefb9e62c8eafe6e3176880a421fd9a 100644 (file)
@@ -4,8 +4,8 @@ error[E0277]: the size for values of type `str` cannot be known at compilation t
 LL |     let _x = "test" as &dyn (::std::any::Any);
    |              ^^^^^^ doesn't have a size known at compile-time
    |
-   = help: the trait `std::marker::Sized` is not implemented for `str`
-   = note: required for the cast to the object type `dyn std::any::Any`
+   = help: the trait `Sized` is not implemented for `str`
+   = note: required for the cast to the object type `dyn Any`
 
 error: aborting due to previous error