]> git.lizzy.rs Git - rust.git/blob - 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
1 error: `[closure@$DIR/non-structural-match-types.rs:9:17: 9:19]` cannot be used in patterns
2   --> $DIR/non-structural-match-types.rs:9:9
3    |
4 LL |         const { || {} } => {},
5    |         ^^^^^^^^^^^^^^^
6
7 error: `[async block@$DIR/non-structural-match-types.rs:12:17: 12:25]` cannot be used in patterns
8   --> $DIR/non-structural-match-types.rs:12:9
9    |
10 LL |         const { async {} } => {},
11    |         ^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14