about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-04 14:14:48 -0700
committerGitHub <noreply@github.com>2016-11-04 14:14:48 -0700
commit713a360560ab70651d10f09c9949673fa5e42fcd (patch)
tree22ab79e011a9a40c74bd0d843f124c69d5a3be81 /src/test/run-pass/thinlto
parent81601cd3a393d1cb8ca82eb1b2270d24c5d7724f (diff)
parentdf0e5a97fb326ade900567d80977f40b83aea565 (diff)
downloadrust-713a360560ab70651d10f09c9949673fa5e42fcd.tar.gz
rust-713a360560ab70651d10f09c9949673fa5e42fcd.zip
Auto merge of #37356 - cristicbz:wrapsum, r=alexcrichton
Add impls for `&Wrapping`. Also `Sum`, `Product` impls for both `Wrapping` and `&Wrapping`.

There are two changes here (split into two commits):
- Ops for references to `&Wrapping`  (`Add`, `Sub`, `Mul` etc.) similar to the way they are implemented for primitives.
- Impls for `iter::{Sum,Product}` for `Wrapping`.

As far as I know `impl` stability attributes don't really matter so I didn't bother breaking up the macro for two different kinds of stability. Happy to change if it does matter.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions