about summary refs log tree commit diff
path: root/src/librustc_mir/const_eval
AgeCommit message (Expand)AuthorLines
2020-02-23miri/machine: add canonical_alloc_id hook to replace find_foreign_staticRalf Jung-9/+1
2020-02-22Auto merge of #69374 - Dylan-DPC:rollup-x7mjd5z, r=Dylan-DPCbors-0/+87
2020-02-22move const_eval.rs into the module folderRalf Jung-0/+87
2020-02-20Revert "Rollup merge of #69280 - ecstatic-morse:promote-shuffle-no-special-ca...Dylan MacKenzie-2/+2
2020-02-20Auto merge of #68847 - ecstatic-morse:const-impl, r=oli-obkbors-53/+77
2020-02-18Remove mention of `simd_shuffle` promotion from commentsDylan MacKenzie-2/+2
2020-02-18Make `fn_queries` helpers module-privateDylan MacKenzie-75/+74
2020-02-18Remove outdated FIXMEDylan MacKenzie-2/+0
2020-02-18Const-check functions in a `const` implDylan MacKenzie-1/+14
2020-02-18Add `is_const_impl_raw` queryDylan MacKenzie-1/+15
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-13rename PanicInfo -> AssertKindRalf Jung-4/+4
2020-02-13move PanicInfo to mir moduleRalf Jung-4/+6
2020-02-13no need for hook_panic_fn to return a boolRalf Jung-10/+8
2020-02-13remove PanicInfo::Panic variant that MIR does not use or needRalf Jung-6/+11
2020-02-13remove Panic variant from InterpErrorRalf Jung-24/+59
2020-02-11Run RustFmtjumbatm-3/+1
2020-02-11Invert control in struct_lint_level.jumbatm-4/+5
2020-02-01Move builtin attribute logic to new rustc_attr crate.Mazdak Farrokhzad-1/+1
2020-01-28Auto merge of #68587 - JohnTitor:rollup-fz45xwc, r=JohnTitorbors-0/+4
2020-01-27Don't call `tcx.fn_sig` on closuresAaron Hill-0/+4
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-10Rollup merge of #67501 - oli-obk:test-slice-patterns, r=RalfJungMazdak Farrokhzad-15/+18
2020-01-09Switch assertion order to be more helpful to ppl that encounter themOliver Scherer-1/+1
2020-01-08Move `is_min_const_fn` query to librustc_mir.Camille GILLOT-72/+67
2020-01-08Move constness.rs to librustc_mir.Camille GILLOT-0/+156
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-2/+2
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-2/+2
2020-01-04Rollup merge of #67137 - anp:tracked-panic-internals, r=eddybDylan DPC-1/+2
2020-01-04Update ABI in const impls of panic_fn/begin_panic_fn.Adam Perry-1/+2
2020-01-02Normalize `syntax::source_map` imports.Mazdak Farrokhzad-2/+2
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-3/+3
2019-12-26Bail out before running the queryOliver Scherer-3/+4
2019-12-26TidyOliver Scherer-7/+10
2019-12-26Fix imports after rebaseOliver Scherer-11/+9
2019-12-26Rename `query` moduleOliver Scherer-0/+0
2019-12-26Move function definitions before their first useOliver Scherer-138/+138
2019-12-26Move all functions used by the queries to query.rsOliver Scherer-0/+95