diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-02-21 00:35:20 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2015-03-03 12:10:57 +0100 |
| commit | f1ea2b3094b1c28e64af30e187e31aa82f5ff004 (patch) | |
| tree | ab2481f9e050a090081e1f608e0b9f408dc7fc73 /src/libstd/sys | |
| parent | faf3bcd72c85774805ae0e84d0458aa3e67b20e4 (diff) | |
| download | rust-f1ea2b3094b1c28e64af30e187e31aa82f5ff004.tar.gz rust-f1ea2b3094b1c28e64af30e187e31aa82f5ff004.zip | |
Catch arith-overflow explicitly during `rustc::middle::const_eval`.
This only replaces the conditional arith-overflow asserts with unconditional errors from the guts of const-eval; it does *not* attempt to sanely handle such errors e.g. with a nice error message from `rustc`. So the same test that led me to add this commit are still failing, and must be addressed.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
