]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-60283.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / issues / issue-60283.stderr
index 2922eb87e825f0b0481e3d27ebeecac10f9b6201..650570b6471eb13266ce99e8273e68350eaaf272 100644 (file)
@@ -19,16 +19,16 @@ error[E0277]: the size for values of type `<() as Trait<'_>>::Item` cannot be kn
 LL |     foo((), drop)
    |             ^^^^ doesn't have a size known at compile-time
    | 
-  ::: $SRC_DIR/libcore/mem/mod.rs:LL:COL
+  ::: $SRC_DIR/core/src/mem/mod.rs:LL:COL
    |
 LL | pub fn drop<T>(_x: T) {}
    |             - required by this bound in `std::mem::drop`
    |
-   = help: the trait `std::marker::Sized` is not implemented for `<() as Trait<'_>>::Item`
+   = help: the trait `Sized` is not implemented for `<() as Trait<'_>>::Item`
 help: consider further restricting the associated type
    |
-LL | fn main() where <() as Trait<'_>>::Item: std::marker::Sized {
-   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL | fn main() where <() as Trait<'_>>::Item: Sized {
+   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to 2 previous errors