about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2019-11-01Abstract out pattern stacks to make the code more legibleNadrieril-41/+92
2019-11-01Auto merge of #65459 - ecstatic-morse:graphviz-subgraph, r=estebankbors-13/+41
2019-10-30caller_location: point to macro invocation sites, like file!/line!.Eduard-Mihai Burtescu-1/+2
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-27Clarify and fix the explanation of the algorithmNadrieril-66/+132
2019-10-27Remove mention of old slice pattern syntaxNadrieril-13/+13
2019-10-27tidyNadrieril-3/+4
2019-10-27Run `rustfmt`Nadrieril-476/+497
2019-10-27Rollup merge of #65839 - ecstatic-morse:promo-sanity-fixes, r=eddybMazdak Farrokhzad-371/+240
2019-10-27hack around '_ named regionsMark Mansi-2/+9
2019-10-27add and use struct_helpMark Mansi-21/+16
2019-10-27implement outlive suggestionsMark Mansi-5/+349
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-25Don't cast directly from `&[T; N]` to `*const T`Matthew Jasper-56/+118
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