]> git.lizzy.rs Git - rust.git/blob - tests/ui/binop/binop-typeck.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / binop / binop-typeck.rs
1 // issue #500
2
3 fn main() {
4     let x = true;
5     let y = 1;
6     let z = x + y;
7     //~^ ERROR cannot add `{integer}` to `bool`
8 }