]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/pattern/non-structural-match-types.stderr
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / pattern / non-structural-match-types.stderr
index 45e16264973886cf78fa2da18a3224ac4bff20cd..dea7c4695cc181b84a86dc949390cf494ec7da6e 100644 (file)
@@ -4,7 +4,7 @@ error: `[closure@$DIR/non-structural-match-types.rs:9:17: 9:19]` cannot be used
 LL |         const { || {} } => {},
    |         ^^^^^^^^^^^^^^^
 
-error: `impl Future<Output = ()>` cannot be used in patterns
+error: `[async block@$DIR/non-structural-match-types.rs:12:17: 12:25]` cannot be used in patterns
   --> $DIR/non-structural-match-types.rs:12:9
    |
 LL |         const { async {} } => {},