summary refs log tree commit diff
path: root/src/librustc/middle/const_val.rs
AgeCommit message (Expand)AuthorLines
2018-04-30Remove unused const error variantOliver Schneider-9/+0
2018-04-30Remove unused error variantsOliver Schneider-4/+1
2018-03-17Replace Rc with LrcJohn Kåre Alsaker-2/+2
2018-03-08Unregress error spans in constant errorsOliver Schneider-1/+1
2018-03-08Const eval error refactoringOliver Schneider-0/+7
2018-03-08Add stack traces to miri errorsOliver Schneider-13/+21
2018-03-08Remove unused error variants and const eval typesOliver Schneider-40/+2
2018-03-08Stop emitting `miri failed` in error messagesOliver Schneider-1/+1
2018-03-08Nuke ConstInt and Const*sizeOliver Schneider-14/+0
2018-03-08Rename ConstVal::to_u128 to to_raw_bitsOliver Schneider-2/+2
2018-03-08Fully use miri in transOliver Schneider-2/+11
2018-03-08Nuke the entire ctfe from orbit, it's the only way to be sureOliver Schneider-37/+1
2018-03-08Produce instead of pointersOliver Schneider-7/+32
2018-03-08Add miri errors to the const eval error enumOliver Schneider-0/+8
2018-03-08Add a variant to ConstVal for storing miri resultsOliver Schneider-0/+3
2017-11-25Conform namesShotaro Yamada-3/+3
2017-11-24Do match-check before const MIR generationShotaro Yamada-3/+6
2017-09-11rustc: evaluate fixed-length array length expressions lazily.Eduard-Mihai Burtescu-38/+1
2017-09-11rustc: remove obsolete const_val::ErrKind::{Negate,Not}On.Eduard-Mihai Burtescu-24/+0
2017-09-11rustc: use ty::Const for the length of TyArray.Eduard-Mihai Burtescu-6/+11
2017-09-11rustc: replace usize with u64 and ConstUsize.Eduard-Mihai Burtescu-8/+3
2017-09-11rustc: introduce ty::Const { ConstVal, Ty }.Eduard-Mihai Burtescu-9/+7
2017-09-11rustc: intern ConstVal's in TyCtxt.Eduard-Mihai Burtescu-14/+40
2017-07-27rustc_const_eval: keep track of the appropriate ParamEnv.Eduard-Mihai Burtescu-2/+4
2017-07-27rustc_const_eval: always require correct Substs.Eduard-Mihai Burtescu-1/+1
2017-07-19Implement const fn {size,align}_of.Eduard-Mihai Burtescu-1/+3
2017-05-08Remove need for &format!(...) or &&"" dances in `span_label` callsOliver Schneider-1/+1
2017-04-24rustc: use tcx.at(span) to set the location of a query.Eduard-Mihai Burtescu-2/+2
2017-04-23rustc_const_eval: support all unit enum variants.Eduard-Mihai Burtescu-2/+4
2017-04-23rustc_const_eval: CallOn isn't needed, typeck/const-qualif handle those cases.Eduard-Mihai Burtescu-2/+0
2017-04-23rustc: make the const-eval cache polymorphic.Eduard-Mihai Burtescu-1/+2
2017-04-16rustc: expose monomorphic const_eval through on-demand.Eduard-Mihai Burtescu-1/+36
2017-04-16rustc_const_eval: move ConstEvalErr to the rustc crate.Eduard-Mihai Burtescu-5/+159
2017-02-25rustc_const_eval: always demand typeck_tables for evaluating constants.Eduard-Mihai Burtescu-10/+11
2017-02-10Prefer switching on false for boolean switchesSimonas Kazlauskas-3/+0
2017-02-10Only SwitchInt over integers, not all constsSimonas Kazlauskas-0/+13
2017-02-10SwitchInt over SwitchSimonas Kazlauskas-0/+1
2017-01-06rustc: keep track of tables everywhere as if they were per-body.Eduard-Mihai Burtescu-9/+6
2016-11-20Move `syntax::util::interner` -> `syntax::symbol`, cleanup.Jeffrey Seyfried-1/+1
2016-06-05rustc_const_eval: work around double rounding.Eduard Burtescu-50/+3
2016-04-06rustc: move middle::{def,def_id,pat_util} to hir.Eduard Burtescu-1/+1
2016-03-30move `const_eval` and `check_match` out of `librustc`Oliver Schneider-0/+101