rust/src
Felix S. Klock II e919f82da1 Address arith-overflow and error-handling in const_eval.rs.
1. Detect and report arithmetic overflow during const-expr eval.

 2. Instead `eval_const_expr_partial` returning `Err(String)`, it now
    has a dedicated enum of different cases. The main benefit of this
    is the ability to pass along an interpretable payload, namely the
    two inputs that caused an overlfow.

I attempted to minimize fallout to error output in tests, but some was
unavoidable. Those changes are in a follow-on commit.
2015-03-03 12:10:57 +01:00
..
compiler-rt@58ab642c30
compiletest
doc Rollup merge of #22911 - djmally:master, r=steveklabnik 2015-03-03 01:46:28 +05:30
driver
etc
grammar
jemalloc@b001609960
liballoc std: Implement stdio for std::io 2015-02-28 23:13:02 -08:00
libarena
libbacktrace
libcollections Fixes to collections to accommodate arith-overflow changes. 2015-03-03 12:10:20 +01:00
libcore core::iter: fix bug uncovered by arith-overflow. 2015-03-03 12:10:57 +01:00
libcoretest Accommodate arith-overflow in core::num, std::num, coretest::num. 2015-03-03 12:10:57 +01:00
libflate
libfmt_macros
libgetopts Remove int/uint from libstd/lib.rs 2015-03-01 13:03:44 +01:00
libgraphviz
liblibc unbreak dragonfly build after nacl integration 2015-03-01 16:08:24 +01:00
liblog
librand Accommodate arith-overflow in rand and std::rand. 2015-03-03 12:10:57 +01:00
librbml metadata: Reordered integral tags in the ascending order. 2015-03-03 14:35:30 +09:00
librustc Address arith-overflow and error-handling in const_eval.rs. 2015-03-03 12:10:57 +01:00
librustc_back Add core::num::wrapping and fix overflow errors. 2015-03-03 12:10:19 +01:00
librustc_bitflags
librustc_borrowck
librustc_driver
librustc_lint Rollup merge of #22893 - Ms2ger:lints, r=huonw 2015-03-02 03:54:00 +05:30
librustc_llvm
librustc_privacy
librustc_resolve
librustc_trans Accommodate simple cases of arith-overflow in rustc related crates. 2015-03-03 12:10:57 +01:00
librustc_typeck Address arith-overflow and error-handling in const_eval.rs. 2015-03-03 12:10:57 +01:00
librustdoc
libserialize Accommodate arith-overflow in serialize::json numeric parsing. 2015-03-03 12:10:57 +01:00
libstd Accommodate arith-overflow in rand and std::rand. 2015-03-03 12:10:57 +01:00
libsyntax Accommodate simple cases of arith-overflow in rustc related crates. 2015-03-03 12:10:57 +01:00
libterm
libtest core: Audit num module for int/uint 2015-03-02 16:12:46 -08:00
libunicode
llvm@b89c3f039b
rt
rust-installer@60fd8abfca
rustbook
rustllvm
test Address arith-overflow and error-handling in const_eval.rs. 2015-03-03 12:10:57 +01:00
snapshots.txt