summaryrefslogtreecommitdiffstats
path: root/tests/ui/binop/binop-mul-bool.rs
blob: 41494c7a017eda5c10d59278b9de6380990e3462 (plain)
1
2
3
// error-pattern:cannot multiply `bool` by `bool`

fn main() { let x = true * false; }