blob: 1631bb303e54e0c702f88acdb8947d618c16d267 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
};
}
|