]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generic-associated-types/gat-trait-path-parenthesised-args.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / gat-trait-path-parenthesised-args.rs
index f1af6860284cb5a0ad8988fdcf1898f06e5b00a8..48b4a4fc393777ecb289ecfc5e8468dec949af9f 100644 (file)
@@ -1,5 +1,4 @@
 #![feature(generic_associated_types)]
-  //~^ WARNING: the feature `generic_associated_types` is incomplete
 
 trait X {
   type Y<'a>;
@@ -11,6 +10,6 @@ fn foo<'a>(arg: Box<dyn X<Y('a) = &'a ()>>) {}
   //~| ERROR this associated type takes 0 generic arguments but 1 generic argument
   //~| ERROR this associated type takes 1 lifetime argument but 0 lifetime arguments
   //~| WARNING: trait objects without an explicit `dyn` are deprecated
-  //~| WARNING: this was previously accepted by the compiler
+  //~| WARNING: this is accepted in the current edition
 
 fn main() {}