blob: ebab6566d4b579150f61534052885956438e9f63 [file] [log] [blame]
#![feature(const_trait_impl)]
struct Bug {
inner: [(); match || 1 {
n => n(),
//~^ ERROR cannot call non-const closure in constants
}],
}
fn main() {}