]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-3214.rs
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-3214.rs
index 9a727aa3057977605d7521c8138e09464f65d2f2..ccfaf23b4b9ff3948009b6a28b4a64123c3af49c 100644 (file)
@@ -4,7 +4,8 @@ fn foo<T>() {
     }
 
     impl<T> Drop for Foo<T> {
-        //~^ ERROR wrong number of type arguments
+        //~^ ERROR this struct takes 0 type arguments but 1 type argument was supplied
+        //~| ERROR the type parameter `T` is not constrained by the impl trait, self type, or predicates
         fn drop(&mut self) {}
     }
 }