rust-lang/rust — pull request #19899 by japaric (2014-12-16 00:47:08+00:00)
Title: Make unary operators take their arguments by value

- The following operator traits now take their argument by value: `Neg`, `Not`. This breaks all existing implementations of these traits.

- The unary operation `OP a` now "desugars" to `OpTrait::op_method(a)` and consumes its argument.

[breaking-change]

---

r? @nikomatsakis This PR is very similar to the binops-by-value PR
cc @aturon