]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/dst/dst-sized-trait-param.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / dst / dst-sized-trait-param.stderr
index 7e90e9ce1792dae953b7ac2a9dd6dae121de6728..481c01a75e5a9e9b4e9960905628c19abc20b0c3 100644 (file)
@@ -7,7 +7,7 @@ LL |
 LL | impl Foo<[isize]> for usize { }
    |      ^^^^^^^^^^^^ doesn't have a size known at compile-time
    |
-   = help: the trait `std::marker::Sized` is not implemented for `[isize]`
+   = help: the trait `Sized` is not implemented for `[isize]`
 help: consider relaxing the implicit `Sized` restriction
    |
 LL | trait Foo<T: ?Sized> : Sized { fn take(self, x: &T) { } } // Note: T is sized
@@ -22,7 +22,7 @@ LL | trait Foo<T> : Sized { fn take(self, x: &T) { } } // Note: T is sized
 LL | impl Foo<isize> for [usize] { }
    |      ^^^^^^^^^^ doesn't have a size known at compile-time
    |
-   = help: the trait `std::marker::Sized` is not implemented for `[usize]`
+   = help: the trait `Sized` is not implemented for `[usize]`
 
 error: aborting due to 2 previous errors