summary refs log tree commit diff
path: root/src/librustc/middle/const_eval.rs
AgeCommit message (Expand)AuthorLines
2015-10-27the const evaluator might run before check_constOliver Schneider-8/+16
2015-10-19copy paste error of stable attributeOliver Schneider-1/+0
2015-10-19allow constant evaluation of function callsOliver Schneider-17/+87
2015-10-13Merge VariantData and VariantData_Vadim Petrochenkov-1/+1
2015-10-13Dict -> Struct, StructDef -> VariantData, def -> dataVadim Petrochenkov-1/+1
2015-10-13Remove now redundant NodeId from VariantVadim Petrochenkov-1/+1
2015-10-04change PartialEq impl for ConstVal so that two constants are `==`Niko Matsakis-1/+23
2015-10-04switch to using constvals for constants, instead of having constantNiko Matsakis-1/+1
2015-10-03Auto merge of #28521 - arielb1:metadiet, r=eddybbors-2/+2
2015-10-02Merge branch 'master' into metadietAriel Ben-Yehuda-38/+17
2015-10-02Rollup merge of #28686 - eefriedman:unresolved-path-error, r=nikomatsakisManish Goregaokar-2/+17
2015-10-01convert the creepy case to just return None -- in practice, it wouldNiko Matsakis-26/+1
2015-10-01Convert DefId to use DefIndex, which is an index into a list ofNiko Matsakis-3/+3
2015-10-01move direct accesses of `node` to go through `as_local_node_id`, unlessNiko Matsakis-15/+19
2015-10-01change creepy case to call span_bug instead of doing something clearly wrongNiko Matsakis-5/+5
2015-09-30Don't crash on non-existent path in constant.Eli Friedman-2/+17
2015-09-22Use Names in the remaining HIR structures with exception of...Vadim Petrochenkov-1/+1
2015-09-22Use Names in hir::{Field, ExprMethodCall, ExprField}Vadim Petrochenkov-3/+3
2015-09-22Use Names in HIR ItemsVadim Petrochenkov-1/+1
2015-09-17Remove hir::ExprParenNick Cameron-1/+0
2015-09-16Use ast attributes every where (remove HIR attributes).Nick Cameron-45/+45
2015-09-03Use consistent terminology for byte string literalsVadim Petrochenkov-5/+5
2015-09-03Add an intital HIR and lowering stepNick Cameron-154/+157
2015-08-26Rename FnKind variants and stop re-exporting them from the visit module.Ms2ger-5/+5
2015-08-24fallout from moving def-idNiko Matsakis-12/+12
2015-08-14move InlinedItem into librustc, where it belongsNiko Matsakis-6/+7
2015-08-04rustc: replace def::MethodProvenance with ty::ImplOrTraitItemContainer.Eduard Burtescu-5/+5
2015-07-28remove `get_ident` and `get_name`, make `as_str` soundOliver Schneider-2/+3
2015-07-23eval_const_expr_partial now returns ConstVal::Struct instead of None for unit...Antti Keränen-0/+3
2015-07-22Auto merge of #26683 - eefriedman:const-eval-hint, r=pnkfelixbors-56/+115
2015-07-21Auto merge of #26935 - oli-obk:const_val_description, r=eddybbors-30/+22
2015-07-17Clarify the usage of "hints" in const_eval.Eli Friedman-56/+115
2015-07-14Fix negate_unsigned feature gate checkSimonas Kazlauskas-9/+0
2015-07-13simplify processing of ConstVal objects when not all variants are legalOliver Schneider-30/+22
2015-06-30Remove Typer and ClosureTyperJared Roesch-1/+1
2015-06-30Remove Typer + ClosureTyper impls for ParameterEnvJared Roesch-1/+1
2015-06-30Use fresh FulfillmentContexts in select locationsJared Roesch-1/+1
2015-06-27Ground work for replacing the ClosureTyper traitJared Roesch-1/+1
2015-06-27Begin refactor type checking stateJared Roesch-3/+2
2015-06-26rustc: switch most remaining middle::ty functions to methods.Eduard Burtescu-9/+9
2015-06-23change `const_val` enum and its variants to camel-caseOliver Schneider-116/+112
2015-06-19rustc: remove Repr and UserString.Eduard Burtescu-5/+4
2015-06-19rustc: use the TLS type context in Repr and UserString.Eduard Burtescu-2/+2
2015-06-12Cleanup: rename middle::ty::sty and its variants.Eli Friedman-21/+21
2015-06-10syntax: move ast_map to librustc.Eduard Burtescu-2/+3
2015-05-26Auto merge of #25091 - quantheory:trait_associated_const_fixes, r=nikomatsakisbors-13/+35
2015-05-21Make various fixes:Niko Matsakis-8/+8
2015-05-21rustc: const-qualify `const fn` function and method calls.Eduard Burtescu-1/+60
2015-05-19Overhaul cast semantics and make them follow RFC401Ariel Ben-Yehuda-1/+1
2015-05-17Fix issue where trait-associated consts could cause ICEs in match patterns.Sean Patrick Santos-13/+35