rust/tests/ui/binop/binop-mul-bool.rs
2024-02-16 20:02:50 +00:00

4 lines
88 B
Rust

//@ error-pattern:cannot multiply `bool` by `bool`
fn main() { let x = true * false; }