about summary refs log tree commit diff
path: root/compiler/rustc_mir
AgeCommit message (Expand)AuthorLines
2020-11-02Auto merge of #78592 - fpoli:nll-facts-dir, r=matthewjasperbors-2/+2
2020-10-31Assert that locals have storage when usedTomasz Miąsko-12/+21
2020-10-31Rollup merge of #78577 - tmiasko:validate-aliasing, r=jonas-schievinkMara Bos-5/+40
2020-10-30Auto merge of #78182 - LeSeulArtichaut:ty-visitor-contolflow, r=lcnr,oli-obkbors-31/+41
2020-10-30Add option to customize the nll-facts' folder locationFederico Poli-2/+2
2020-10-30Remove implicit `Continue` typeLeSeulArtichaut-7/+7
2020-10-30Use `ControlFlow::is{break,continue}`LeSeulArtichaut-2/+2
2020-10-30TypeVisitor: use `ControlFlow` in rustc_{mir,privacy,traits,typeck}LeSeulArtichaut-31/+41
2020-10-29Link to pass docs from NRVO module docsCamelid-0/+2
2020-10-30validator: Extend aliasing check to a call terminatorTomasz Miąsko-5/+40
2020-10-29Rollup merge of #78494 - bugadani:typo2, r=jonas-schievinkYuki Okushi-3/+3
2020-10-29Rollup merge of #78475 - RalfJung:validity-comment, r=oli-obkYuki Okushi-2/+1
2020-10-28Fix typosDániel Buga-3/+3
2020-10-28fix a comment in validity checkRalf Jung-2/+1
2020-10-28Rollup merge of #78351 - RalfJung:validity-unsafe-cell, r=oli-obkDylan DPC-123/+119
2020-10-28Rollup merge of #78152 - spastorino:separate-unsized-locals, r=oli-obkDylan DPC-6/+11
2020-10-27Use unsized_feature_enabled helper functionSantiago Pastorino-6/+9
2020-10-27is -> are bothSantiago Pastorino-1/+1
2020-10-27or -> andSantiago Pastorino-1/+1
2020-10-27Add unsized_fn_params featureSantiago Pastorino-6/+8
2020-10-27Auto merge of #76269 - ayrtonm:function-reference-lint, r=oli-obkbors-0/+207
2020-10-27Added suggestion to `function_item_references` lint and fixed warning messageAyrton-10/+17
2020-10-27Added documentation for `function_item_references` lintAyrton-44/+52
2020-10-27Fixed compiler error in lint checker triggered by associated typesAyrton-53/+65
2020-10-27Removed test for unhandled case in function_item_references lintAyrton-1/+1
2020-10-27Changed lint to check for `std::fmt::Pointer` and `transmute`Ayrton-93/+113
2020-10-27modified lint to work with MIRAyrton-0/+160
2020-10-27Disable "optimization to avoid load of address" in InstCombineJonas Schievink-0/+5
2020-10-26Auto merge of #77876 - tmiasko:simplify-locals, r=wesleywiserbors-143/+110
2020-10-26Auto merge of #68965 - eddyb:mir-inline-scope, r=nagisa,oli-obkbors-149/+214
2020-10-26simplify-locals: Remove unused assignments regardless of rvalue kindTomasz Miąsko-25/+1
2020-10-26simplify-locals: Remove unused set-discriminant statementsTomasz Miąsko-5/+9
2020-10-26simplify-locals: Change RemoveStatements visitor into a functionTomasz Miąsko-42/+31
2020-10-26simplify-locals: Unify use count visitorsTomasz Miąsko-113/+111
2020-10-26simplify-locals: Represent use counts with u32Tomasz Miąsko-6/+6
2020-10-26explain why interning is not as trivial as it might seemRalf Jung-0/+11
2020-10-26interning cleanup: we no longer need to distinguish Const and ConstInner; we ...Ralf Jung-69/+33
2020-10-26move &mut-in-const check from interning to validationRalf Jung-3/+11
2020-10-26move UnsafeCell-in-const check from interning to validationRalf Jung-47/+63
2020-10-26ensure we intern all promoteds as InternKind::PromotedRalf Jung-10/+7
2020-10-26Rollup merge of #78247 - simonvandel:fix-78192, r=oli-obkDylan DPC-6/+14
2020-10-25Auto merge of #78179 - RalfJung:miri-comments, r=oli-obkbors-23/+25
2020-10-25Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obkYuki Okushi-7/+15
2020-10-25Rollup merge of #78085 - wesleywiser:mir_validation_switch_int, r=oli-obkYuki Okushi-2/+24
2020-10-25Auto merge of #77526 - RalfJung:dont-promote-unions, r=lcnrbors-20/+14
2020-10-24Rollup merge of #78191 - tmiasko:temp-match-branch-simplification, r=oli-obkJonas Schievink-8/+22
2020-10-24Rollup merge of #78069 - fusion-engineering-forks:core-const-panic-str, r=Ral...Jonas Schievink-2/+5
2020-10-24MIR validation should check `SwitchInt` values are valid for the typeWesley Wiser-2/+24
2020-10-24Rollup merge of #78198 - tmiasko:assert, r=davidtwcoJonas Schievink-3/+4
2020-10-23rename allow_internal_unstable() to rustc_allow_const_fn_unstable() in rustc_mirFlorian Warzecha-3/+11