1 error: `[closure@$DIR/non-structural-match-types.rs:9:17: 9:22]` cannot be used in patterns
2 --> $DIR/non-structural-match-types.rs:9:9
4 LL | const { || {} } => {},
7 error: `impl Future<Output = [async output]>` cannot be used in patterns
8 --> $DIR/non-structural-match-types.rs:12:9
10 LL | const { async {} } => {},
13 error: aborting due to 2 previous errors