blob: 5629d4b6e6e5f65e8ee8d10b651baa7f70389d49 [file] [log] [blame]
// run-rustfix
fn foo() -> i32 {
0
}
fn main() {
let _x: i32 = {
//~^ ERROR mismatched types
foo() //~ HELP consider removing this semicolon
};
}