about summary refs log tree commit diff
path: root/src/test/compile-fail/binop-sub-obj.rs
blob: 630cd288a4924c8e13926fe4e51ec276f689bbb7 (plain)
1
2
3
// error-pattern:- cannot be applied to type `obj

fn main() { let x = obj () { } - obj () { }; }