diff options
| author | bors <bors@rust-lang.org> | 2016-05-06 00:58:59 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-05-06 00:58:59 -0700 |
| commit | 6301e22e157ba676b0b2477f6670ab8f954767a8 (patch) | |
| tree | e6daa3e2a6282cb762813090ec5929851e319213 /src/rustllvm/RustWrapper.cpp | |
| parent | 68d399d7e3fc96f08744fc3fb057e17b8b365308 (diff) | |
| parent | b25bb53043a92dc343ebdf9f4e71fefffe4fee2a (diff) | |
| download | rust-6301e22e157ba676b0b2477f6670ab8f954767a8.tar.gz rust-6301e22e157ba676b0b2477f6670ab8f954767a8.zip | |
Auto merge of #33072 - tbu-:pr_duration_new_overflow, r=alexcrichton
Panic on overflow in `Duration::new` constructor Panicking on overflow is also done for `+`, and it replaces the currently incorrect overflow behavior of wrapping around, which does not make sense for `Duration`s.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
