]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-41974.stderr
Rollup merge of #77778 - jyn514:git-hook, r=mark-simulacrum
[rust.git] / src / test / ui / issues / issue-41974.stderr
index d082e0a6b5dc46bf311ca1101bf7d6c88b4773cf..a092c94b9d5634d66c50de46893068488416a29b 100644 (file)
@@ -5,7 +5,7 @@ LL | impl<T> Drop for T where T: A {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: conflicting implementation in crate `alloc`:
-           - impl<T> std::ops::Drop for std::boxed::Box<T>
+           - impl<T> Drop for Box<T>
              where T: ?Sized;
    = note: downstream crates may implement trait `A` for type `std::boxed::Box<_>`
 
@@ -21,7 +21,7 @@ error[E0210]: type parameter `T` must be used as the type parameter for some loc
 LL | impl<T> Drop for T where T: A {
    |      ^ type parameter `T` must be used as the type parameter for some local type
    |
-   = note: implementing a foreign trait is only possible if at least one of the types for which is it implemented is local
+   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local
    = note: only traits defined in the current crate can be implemented for a type parameter
 
 error: aborting due to 3 previous errors