]> 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 a3ff4ad1d47054f238203ed5d2474497714540fd..7cc9ccaabdca4a0c2c080e7eb5fd88b5805440de 100644 (file)
@@ -1,4 +1,4 @@
-#![feature(const_fn, type_alias_impl_trait)]
+#![feature(type_alias_impl_trait)]
 
 type Foo = impl Send;
 
@@ -11,9 +11,9 @@ const fn value() -> Foo {
 const VALUE: Foo = value();
 
 fn test() {
-    match todo!() {
+    match VALUE {
         VALUE => (),
-        //~^ `impl Send` cannot be used in patterns
+        //~^ `Foo` cannot be used in patterns
         _ => (),
     }
 }