blob: df242721bc31a10b337ce9ac2f6a5beb760e18e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// known-bug: #110395
#![feature(const_trait_impl)]
struct Bug {
inner: [(); match || 1 {
n => n(),
//FIXME ~^ ERROR the trait bound
//FIXME ~| ERROR the trait bound
//FIXME ~| ERROR cannot call non-const closure in constants
}],
}
fn main() {}
|