summary refs log tree commit diff
path: root/src/librustc_const_eval/lib.rs
AgeCommit message (Collapse)AuthorLines
2016-10-19Stabilise `?`Nick Cameron-1/+1
cc [`?` tracking issue](https://github.com/rust-lang/rust/issues/31436)
2016-09-04Replace `_, _, _` with `..`Vadim Petrochenkov-1/+1
2016-07-22refactor constant evaluation error reportingAriel Ben-Yehuda-0/+1
Refactor constant evaluation to use a single error reporting function that reports a type-error-like message. Also, unify all error codes with the "constant evaluation error" message to just E0080, and similarly for a few other duplicate codes. The old situation was a total mess, and now that we have *something* we can further iterate on the UX.
2016-07-03std: Stabilize APIs for the 1.11.0 releaseAlex Crichton-1/+0
Although the set of APIs being stabilized this release is relatively small, the trains keep going! Listed below are the APIs in the standard library which have either transitioned from unstable to stable or those from unstable to deprecated. Stable * `BTreeMap::{append, split_off}` * `BTreeSet::{append, split_off}` * `Cell::get_mut` * `RefCell::get_mut` * `BinaryHeap::append` * `{f32, f64}::{to_degrees, to_radians}` - libcore stabilizations mirroring past libstd stabilizations * `Iterator::sum` * `Iterator::product` Deprecated * `{f32, f64}::next_after` * `{f32, f64}::integer_decode` * `{f32, f64}::ldexp` * `{f32, f64}::frexp` * `num::One` * `num::Zero` Added APIs (all unstable) * `iter::Sum` * `iter::Product` * `iter::Step` - a few methods were added to accomodate deprecation of One/Zero Removed APIs * `From<Range<T>> for RangeInclusive<T>` - everything about `RangeInclusive` is unstable Closes #27739 Closes #27752 Closes #32526 Closes #33444 Closes #34152 cc #34529 (new tracking issue)
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+1
2016-04-11don't report errors in constants at every use siteOliver Schneider-0/+2
2016-04-06rustc: move rustc_front to rustc::hir.Eduard Burtescu-1/+0
2016-03-31librustc_const_eval: use bug!(), span_bug!()Benjamin Herr-1/+1
2016-03-30move `const_eval` and `check_match` out of `librustc`Oliver Schneider-0/+53
2016-03-30rename `rustc_const_eval` to `rustc_const_math`Oliver Schneider-43/+0
2016-03-22sprinkle feature gates here and thereJorge Aparicio-0/+1
2016-03-10typestrong constant integersOliver Schneider-0/+42