]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-41974.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-41974.stderr
index 12d4da7159929b4cc0e4180aeb73b83c0c9ed62c..9f164822deacb5381667ca51a2f12aa9fb9dbb83 100644 (file)
@@ -21,6 +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: only traits defined in the current crate can be implemented for a type parameter
 
 error: aborting due to 3 previous errors