about summary refs log tree commit diff
path: root/src/librustc_const_eval/pattern.rs
AgeCommit message (Expand)AuthorLines
2018-03-08Move librustc_const_eval to librustc_mirOliver Schneider-1069/+0
2018-03-08Produce instead of pointersOliver Schneider-122/+213
2018-03-08Add a variant to ConstVal for storing miri resultsOliver Schneider-0/+1
2018-02-08Encode (in MIR) whether borrows are explicit in source or arise due to autoref.Felix S. Klock II-2/+2
2018-01-31Rollup merge of #47876 - GuillaumeGomez:associated-const-error, r=nikomatsakiskennytm-1/+10
2018-01-30Update associated constants error messageGuillaume Gomez-1/+10
2018-01-25Auto merge of #47374 - topecongiro:issue-47096, r=nikomatsakisbors-1/+3
2018-01-17Simplify irrefutable slice patternsSeiichi Uchida-1/+3
2018-01-13Use delay_span_bug() over debug!()Seiichi Uchida-1/+2
2018-01-12Ignore CTFE errors while lowering patternsSeiichi Uchida-1/+1
2017-11-18rustc_mir: always downcast enums, even if univariant.Eduard-Mihai Burtescu-2/+2
2017-10-06implement pattern-binding-modes RFCTobias Schottdorf-0/+38
2017-09-18incr.comp.: Already hash HIR bodies during metadata export so they don't have...Michael Woerister-1/+1
2017-09-11rustc: evaluate fixed-length array length expressions lazily.Eduard-Mihai Burtescu-1/+2
2017-09-11rustc: use ty::Const for the length of TyArray.Eduard-Mihai Burtescu-1/+2
2017-09-11rustc: replace usize with u64 and ConstUsize.Eduard-Mihai Burtescu-1/+1
2017-09-11rustc: introduce ty::Const { ConstVal, Ty }.Eduard-Mihai Burtescu-8/+8
2017-09-11rustc: intern ConstVal's in TyCtxt.Eduard-Mihai Burtescu-31/+28
2017-09-08Use NodeId/HirId instead of DefId for local variables.Eduard-Mihai Burtescu-2/+1
2017-09-05rustc: Rename item_body query to extern_const_bodyAlex Crichton-1/+1
2017-09-05rustc: Migrate `CrateStore::item_body` to a queryAlex Crichton-1/+1
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-9/+9
2017-08-11Encapsulate sub-table access in TypeckTables and validate keys on each access.Michael Woerister-2/+2
2017-08-11Use ItemLocalId as key for TypeckTables::pat_binding_modes.Michael Woerister-1/+1
2017-08-11Use ItemLocalId as key for node_types, node_substs, and adjustments in Typeck...Michael Woerister-9/+9
2017-08-11Make TypeckTables::type_dependent_defs use ItemLocalId instead of NodeId.Michael Woerister-8/+8
2017-07-30default binding modes: add pat_binding_modesTobias Schottdorf-8/+12
2017-07-27rustc_const_eval: keep track of the appropriate ParamEnv.Eduard-Mihai Burtescu-7/+16
2017-07-27rustc_const_eval: always require correct Substs.Eduard-Mihai Burtescu-19/+25
2017-06-27rustc: move the PolyFnSig out of TyFnDef.Eduard-Mihai Burtescu-3/+3
2017-06-01Auto merge of #42281 - eddyb:well-adjusted, r=nikomatsakisbors-2/+1
2017-06-01rustc: remove unnecessary ItemSubsts wrapper.Eduard-Mihai Burtescu-2/+1
2017-05-30Turn sufficiently old compatibility lints into hard errorsVadim Petrochenkov-15/+6
2017-04-30intern CodeExtentsNiko Matsakis-2/+2
2017-04-24rustc: rename some of the queries to match tcx methods.Eduard-Mihai Burtescu-2/+2
2017-04-23rustc_const_eval: support all unit enum variants.Eduard-Mihai Burtescu-1/+7
2017-04-23rustc: make the const-eval cache polymorphic.Eduard-Mihai Burtescu-3/+8
2017-04-16rustc_const_eval: move ConstEvalErr to the rustc crate.Eduard-Mihai Burtescu-2/+2
2017-03-06Fix ICE: don't use `struct_variant` on enumsEsteban Küber-1/+5
2017-02-25rustc_const_eval: always demand typeck_tables for evaluating constants.Eduard-Mihai Burtescu-12/+12
2017-02-03Add warning for () to ! switchAndrew Cann-1/+1
2017-01-30Merge ty::TyBox into ty::TyAdtVadim Petrochenkov-1/+1
2017-01-26rustc: rename TyCtxt's `map` field to `hir`.Eduard-Mihai Burtescu-1/+1
2017-01-25rename `Tables` to `TypeckTables`Niko Matsakis-3/+3
2017-01-19add exclusive range patterns under a feature gateOliver Schneider-7/+13
2017-01-06rustc: store ty::Tables separately for each body (except closures').Eduard-Mihai Burtescu-1/+1
2017-01-06rustc: keep track of tables everywhere as if they were per-body.Eduard-Mihai Burtescu-23/+30
2017-01-04Fix build after rebaseAndrew Cann-12/+15
2017-01-03Fix build after rebaseAndrew Cann-5/+5
2017-01-03More pattern matching for empty types changesAndrew Cann-5/+14