summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binop/binop-typeck.rs
blob: 812fe95db4e57dcf045135cb6e144ca38058277c (plain)
1
2
3
4
5
6
7
8
// issue #500

fn main() {
    let x = true;
    let y = 1;
    let z = x + y;
    //~^ ERROR cannot add `{integer}` to `bool`
}