]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/impl-item-type-no-body-semantic-fail.rs
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / parser / impl-item-type-no-body-semantic-fail.rs
index fa9c7ababcf9eb1a2d1fc3966a94e46364f31f1f..1ccc9497d9d81b82d31715637a5f150230f71204 100644 (file)
@@ -8,16 +8,16 @@ struct X;
 impl X {
     type Y;
     //~^ ERROR associated type in `impl` without body
-    //~| ERROR associated types are not yet supported in inherent impls
+    //~| ERROR inherent associated types are unstable
     type Z: Ord;
     //~^ ERROR associated type in `impl` without body
     //~| ERROR bounds on `type`s in `impl`s have no effect
-    //~| ERROR associated types are not yet supported in inherent impls
+    //~| ERROR inherent associated types are unstable
     type W: Ord where Self: Eq;
     //~^ ERROR associated type in `impl` without body
     //~| ERROR bounds on `type`s in `impl`s have no effect
-    //~| ERROR associated types are not yet supported in inherent impls
+    //~| ERROR inherent associated types are unstable
     type W where Self: Eq;
     //~^ ERROR associated type in `impl` without body
-    //~| ERROR associated types are not yet supported in inherent impls
+    //~| ERROR inherent associated types are unstable
 }