]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/pattern/non-structural-match-types.stderr
remove [async output] from impl Future
[rust.git] / src / test / ui / pattern / non-structural-match-types.stderr
index 31168e29eb82fc583e800d035bd4e2d329c527ed..91fed81eaeff6927e99aada93a1603a4ade43b93 100644 (file)
@@ -4,7 +4,7 @@ error: `[closure@$DIR/non-structural-match-types.rs:9:17: 9:22]` cannot be used
 LL |         const { || {} } => {},
    |         ^^^^^^^^^^^^^^^
 
-error: `impl Future<Output = [async output]>` cannot be used in patterns
+error: `impl Future` cannot be used in patterns
   --> $DIR/non-structural-match-types.rs:12:9
    |
 LL |         const { async {} } => {},