summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2019-12-14Ensure that we get a hard error on generic ZST constants if their body causes...Oliver Scherer-3/+8
2019-12-06[ConstProp] Avoid OOM crashes by not evaluating large PlacesWesley Wiser-1/+9
2019-12-05Handle non_exhaustive in borrow checkingMatthew Jasper-1/+1
2019-11-04Auto merge of #65874 - Nadrieril:clarify-usefulness, r=varkorbors-798/+1047
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-01Clarifications suggested by varkorNadrieril-15/+17
2019-11-01Factor out witness reconstructionNadrieril-89/+131
2019-11-01Factor out constructor subtractionNadrieril-27/+36
2019-11-01Define a MissingConstructors struct for cleanlinessNadrieril-41/+75
2019-11-01WordingNadrieril-4/+4
2019-11-01`specialize` conceptually operates on a single patternNadrieril-16/+14
2019-11-01Clarify some variable namesNadrieril-29/+36
2019-11-01Refactor "wild constructor" constructionNadrieril-40/+33
2019-11-01Extract constructor application as a Constructor methodNadrieril-42/+64
2019-11-01Remove duplicate logic in compute_missing_constructorsNadrieril-84/+35
2019-11-01Remove some redundancyNadrieril-40/+52
2019-11-01Factor out some pattern-stack related functionsNadrieril-12/+52
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-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-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