/src/test/compile-fail/binop-add-tup.rs
http://github.com/jruderman/rust · Rust · 3 lines · 1 code · 1 blank · 1 comment · 0 complexity · 9fc1b75effe48da33f42b207a0ff5576 MD5 · raw file
- // error-pattern:+ cannot be applied to type `{x: bool}`
- fn main() { let x = {x: true} + {x: false}; }