blob: b4f19bb829407a5ce4b9e773f8d658503b19041a [file] [log] [blame]
// edition:2021
#![allow(incomplete_features)]
#![allow(unreachable_code)]
#![feature(const_async_blocks)]
#![feature(inline_const_pat)]
fn main() {
match loop {} {
const { || {} } => {} //~ ERROR cannot be used in patterns
}
match loop {} {
const { async {} } => {} //~ ERROR cannot be used in patterns
}
}