about summary refs log tree commit diff
path: root/compiler/rustc_mir/src
AgeCommit message (Expand)AuthorLines
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-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
2020-10-22Check which places are deadSimon Vandel Sillesen-6/+14
2020-10-22Fix const core::panic!(non_literal_str).Mara Bos-2/+5
2020-10-22Auto merge of #78212 - JohnTitor:rollup-j5r6xuy, r=JohnTitorbors-29/+15
2020-10-22Rollup merge of #77420 - ecstatic-morse:const-checking-raw-mut-ref, r=davidtwcoYuki Okushi-29/+15
2020-10-21reviewBastian Kauschke-17/+4
2020-10-21Lift: take self by valueBastian Kauschke-2/+2
2020-10-21switch allow_internal_unstable const fns to rustc_allow_const_fn_unstableFlorian Warzecha-4/+4
2020-10-21Miri engine interning: improve comments, and entirely skip ZSTRalf Jung-11/+17