]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/type-alias-impl-trait/structural-match.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / type-alias-impl-trait / structural-match.rs
index daf914cc494aca84e3d7b972f27d73960978d9f5..7cc9ccaabdca4a0c2c080e7eb5fd88b5805440de 100644 (file)
@@ -1,9 +1,4 @@
-#![feature(const_impl_trait)]
-// revisions: min_tait full_tait
-#![feature(min_type_alias_impl_trait)]
-#![cfg_attr(full_tait, feature(type_alias_impl_trait, impl_trait_in_bindings))]
-//[full_tait]~^ WARN incomplete
-//[full_tait]~| WARN incomplete
+#![feature(type_alias_impl_trait)]
 
 type Foo = impl Send;
 
@@ -13,12 +8,12 @@ struct A;
 const fn value() -> Foo {
     A
 }
-const VALUE: Foo = value(); //[min_tait]~ ERROR not permitted here
+const VALUE: Foo = value();
 
 fn test() {
-    match todo!() {
+    match VALUE {
         VALUE => (),
-        //[full_tait]~^ `impl Send` cannot be used in patterns
+        //~^ `Foo` cannot be used in patterns
         _ => (),
     }
 }