rust/src/test/compile-fail/binop-add-tup.rs
2011-08-02 12:09:15 +02:00

4 lines
119 B
Rust

// xfail-stage0
// error-pattern:+ cannot be applied to type `{x: bool}`
fn main() { let x = {x: true} + {x: false}; }