]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binop-typeck.rs
Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbeb33573'
[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 }