summary refs log tree commit diff
path: root/src/test/compile-fail/binop-add-tup.rs
blob: fadb35503e23403b716ffd83f98c6bce3e7983ca (plain)
1
2
3
// error-pattern:+ cannot be applied to type `{x: bool}`

fn main() { let x = {x: true} + {x: false}; }