summaryrefslogtreecommitdiffstats
path: root/tests/ui/binop/binop-mul-i32-f32.rs
blob: d18be51a45f6fc4904d75ec4f673abf53209e2c3 (plain)
1
2
3
4
5
fn foo(x: i32, y: f32) -> f32 {
    x * y //~ ERROR cannot multiply `i32` by `f32`
}

fn main() {}