about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2019-11-02Auto merge of #63810 - oli-obk:const_offset_from, r=RalfJung,nikicbors-1/+51
2019-11-01Rollup merge of #65946 - ecstatic-morse:refactor-promotion2, r=eddybTyler Mandry-18/+27
2019-11-01Rollup merge of #65112 - jack-t:type-parens-lint, r=varkorTyler Mandry-1/+1
2019-11-01Auto merge of #65459 - ecstatic-morse:graphviz-subgraph, r=estebankbors-13/+41
2019-10-30Remove references to now unused `E0526`Dylan MacKenzie-1/+1
2019-10-30Fix an incorrect docstring for Immediate in librustc_mir/interpret.Edd Barrett-1/+1
2019-10-29Stop emitting error in `qualify_consts` if promotion failsDylan MacKenzie-11/+3
2019-10-29Emit errors in `promote_consts` when required promotion failsDylan MacKenzie-1/+11
2019-10-29Add method to `Candidate` that determines its promotability rulesDylan MacKenzie-5/+12
2019-10-29Add lint for unnecessary parens around typesjack-t-1/+1
2019-10-28suggest `const_in_array_repeat_expression` flagDavid Wood-8/+48
2019-10-28Rollup merge of #65880 - Nadrieril:gather-usefulness-tests, r=varkorMazdak Farrokhzad-0/+3
2019-10-28Rollup merge of #65664 - anp:panic-location, r=eddybMazdak Farrokhzad-22/+108
2019-10-27Gather together usefulness testsNadrieril-0/+3
2019-10-27Always use consteval to codegen caller_location.Adam Perry-28/+25
2019-10-27Implementation of const caller_location.Adam Perry-2/+67
2019-10-27Panicking infra uses &core::panic::Location.Adam Perry-10/+11
2019-10-27Implement core::intrinsics::caller_location.Adam Perry-0/+23
2019-10-27Rollup merge of #65839 - ecstatic-morse:promo-sanity-fixes, r=eddybMazdak Farrokhzad-371/+240
2019-10-27Auto merge of #65519 - pnkfelix:issue-63438-trait-based-structural-match, r=m...bors-216/+286
2019-10-25Remove `QualifResolver` abstractionDylan MacKenzie-206/+112
2019-10-25Use `is_lang_panic_fn` from `check_consts` in `promote_consts`Dylan MacKenzie-8/+4
2019-10-25Deduplicate `promote_consts::Validator` and `check_consts::Item`Dylan MacKenzie-48/+30
2019-10-25Make `Item` fields pubDylan MacKenzie-5/+5
2019-10-25Make `check_consts::Item` work on non-const fnsDylan MacKenzie-120/+105
2019-10-26rustc_mir: use the new validator's Qualif in promotion.Eduard-Mihai Burtescu-49/+120
2019-10-26rustc_mir: double-check const-promotion candidates for sanity.Eduard-Mihai Burtescu-30/+691
2019-10-25Migrate from `#[structural_match]` attribute a lang-item trait.Felix S. Klock II-84/+142
2019-10-25Rollup merge of #65315 - spastorino:intern-place-projection, r=oli-obkMazdak Farrokhzad-927/+970
2019-10-25refactoring: move const_to_pat code into its own submodule.Felix S. Klock II-205/+217
2019-10-25Rollup merge of #65775 - matthewjasper:reempty, r=pnkfelixMazdak Farrokhzad-0/+6
2019-10-25Rollup merge of #65414 - davidtwco:issue-65157-non-exhaustive-always-useful, ...Mazdak Farrokhzad-49/+39
2019-10-24Fix more `ReEmpty` ICEsMatthew Jasper-0/+6
2019-10-24Rollup merge of #65627 - varkor:const-generics-forbid-non-structural_match, r...Mazdak Farrokhzad-129/+15
2019-10-23ignore uninhabited non-exhaustive variant fieldsDavid Wood-49/+39
2019-10-23Rollup merge of #65704 - RalfJung:exact-size, r=oli-obkMazdak Farrokhzad-3/+4
2019-10-23Rollup merge of #65657 - nnethercote:rm-InternedString-properly, r=eddybMazdak Farrokhzad-46/+42
2019-10-22relax ExactSizeIterator bound on write_bytes: too many iterators don't have t...Ralf Jung-3/+4
2019-10-22Move Place::elem methods and friends to TyCtxtSantiago Pastorino-78/+96
2019-10-22Intern place projectionSantiago Pastorino-151/+264
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-747/+659
2019-10-22Search for generic parameters when finding non-`structural_match` typesvarkor-9/+15
2019-10-22Move `search_for_adt_without_structural_match` to `ty/mod`varkor-121/+1
2019-10-22add commentsRalf Jung-2/+2
2019-10-22bring back some Debug instances for MiriRalf Jung-2/+2
2019-10-21Rollup merge of #65660 - varkor:canonical-const-to-bound-const, r=eddybMazdak Farrokhzad-2/+2
2019-10-21Rollup merge of #65647 - nnethercote:rm-unnecessary-traits, r=CentrilMazdak Farrokhzad-12/+12
2019-10-21Rollup merge of #65621 - RalfJung:write_bytes, r=oli-obkMazdak Farrokhzad-1/+20
2019-10-21Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)`varkor-2/+2
2019-10-21Remove many unnecessary trait derivations.Nicholas Nethercote-10/+10