blob: 1631bb303e54e0c702f88acdb8947d618c16d267 [file] [log] [blame]
fn main() {
|| {
if false {
return "test";
}
let a = true;
a //~ ERROR mismatched types
};
|| -> bool {
if false {
return "hello" //~ ERROR mismatched types
};
let b = true;
b
};
}