blob: 3b985269a56c97b4fef98ed1017c6149f8d92bbc [file] [log] [blame]
#![allow(warnings)]
const x: bool = match Some(true) {
Some(value) => true,
//~^ ERROR: constant contains unimplemented expression type [E0019]
_ => false
};
const y: bool = {
match Some(true) {
Some(value) => true,
//~^ ERROR: constant contains unimplemented expression type [E0019]
_ => false
}
};
fn main() {}