summary refs log tree commit diff
path: root/src/librustc_mir/const_eval/eval_queries.rs
AgeCommit message (Expand)AuthorLines
2020-05-24Removed all instances of const_field.Rakshith Ravi-1/+1
2020-05-22Use `OnceCell` instead of `Once`Dylan MacKenzie-2/+2
2020-05-10avoid raising interpreter errors from interningRalf Jung-1/+1
2020-05-09Rollup merge of #71508 - oli-obk:alloc_map_unlock, r=RalfJungRalf Jung-3/+3
2020-05-08Create a convenience wrapper for `get_global_alloc(id).unwrap()`Oliver Scherer-6/+5
2020-05-08Move `unwrap_fn` and `unwrap_memory` to `GlobalAlloc`Oliver Scherer-3/+9
2020-05-08Simplify the `tcx.alloc_map` APIOliver Scherer-8/+3
2020-05-07Renamed "undef" stuff to "uninit"Hanif Bin Ariffin-5/+5
2020-04-28better document const-pattern dynamic soundness checks, and fix a soundness holeRalf Jung-1/+1
2020-04-27Use `LocalDefId` in `typeck_tables_of` and `used_trait_imports` queriesmarmeladema-3/+5
2020-04-24Remove `Option` from the return type of `def_kind`.Eduard-Mihai Burtescu-1/+1
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-2/+2
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-2/+2
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-1/+1
2020-04-16mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`.Eduard-Mihai Burtescu-10/+6
2020-04-13fmtRalf Jung-2/+3
2020-04-13add after_stack_push hook; add public ImmTy::from_immediate method, and make ...Ralf Jung-19/+21
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-3/+4
2020-03-30remove caller span from Miri stack frameRalf Jung-1/+0
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-7/+7
2020-03-29Use `&` to do deref coercion for `ReadOnlyBodyAndCache`Dylan MacKenzie-1/+1
2020-03-08fix some cases of unexpected exceptions leaving validationRalf Jung-1/+6
2020-03-06fix various typosMatthias Krüger-2/+2
2020-03-05Opt out of CTFE if the 'const_eval_limit' is set to 0Christoph Schmidler-2/+2
2020-02-20Revert "Rollup merge of #69280 - ecstatic-morse:promote-shuffle-no-special-ca...Dylan MacKenzie-2/+2
2020-02-18Remove mention of `simd_shuffle` promotion from commentsDylan MacKenzie-2/+2
2020-02-18Rollup merge of #69181 - skinny121:const-eval-return, r=oli-obkDylan DPC-11/+7
2020-02-15Change const eval to return `ConstValue`, instead of `Const` as the type insi...Ben Lewis-11/+7
2020-02-14Check `has_typeck_tables` before calling `typeck_tables_of`Yuki Okushi-1/+4
2020-02-11Run RustFmtjumbatm-3/+1
2020-02-11Invert control in struct_lint_level.jumbatm-4/+5
2020-01-27don't clone types that are copy, round two.Matthias Krüger-2/+2
2020-01-15Promoteds can contain raw pointers, but these must still only point to immuta...Oliver Scherer-4/+9
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-4/+14
2020-01-09Switch assertion order to be more helpful to ppl that encounter themOliver Scherer-1/+1
2020-01-07Add more documentationOliver Scherer-1/+6
2020-01-07Ensure we don't accidentally turn non-zsts into zstsOliver Scherer-0/+1
2020-01-07Move `to_const_value` from `MPlaceTy` to its only use siteOliver Scherer-2/+13
2020-01-07Fix an ICE happening due code assuming that `MPlaceTy` cannot have integer ad...Oliver Scherer-16/+2
2020-01-07Automatically prefer integer addresses for zst MPlaceOliver Scherer-2/+2
2020-01-06Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisabors-1/+1
2020-01-05Fix ICE involving calling `Instance.ty` during const evaluationAaron Hill-1/+1
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-1/+1
2020-01-02Normalize `syntax::source_map` imports.Mazdak Farrokhzad-1/+1
2019-12-27Fix `Instance::resolve()` incorrectly returning specialized instancesWesley Wiser-9/+13
2019-12-26Retire `to_ptr` which should already have no users but still kept getting new...Oliver Scherer-3/+3
2019-12-26Rebase falloutOliver Scherer-1/+1
2019-12-26TidyOliver Scherer-7/+10
2019-12-26Fix imports after rebaseOliver Scherer-11/+9
2019-12-26Rename `query` moduleOliver Scherer-0/+359