]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binop-typeck.rs
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / 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 }