diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-04-18 12:31:16 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-04-18 12:41:30 +0200 |
| commit | b25bb53043a92dc343ebdf9f4e71fefffe4fee2a (patch) | |
| tree | 7064a85f86b912eb5b6749f7f55d72a515a08a42 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 63760acf31e605c8a91bb5cbcbcb4bfb95435e48 (diff) | |
| download | rust-b25bb53043a92dc343ebdf9f4e71fefffe4fee2a.tar.gz rust-b25bb53043a92dc343ebdf9f4e71fefffe4fee2a.zip | |
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/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
