about summary refs log tree commit diff
path: root/src/librustc_mir/transform
AgeCommit message (Expand)AuthorLines
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-6/+6
2020-01-01Ensure that we process projections during MIR inliningAaron Hill-8/+4
2020-01-01Auto merge of #67676 - wesleywiser:lint_overflowing_int_casts, r=oli-obkbors-63/+135
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-9/+9
2019-12-30[const-prop] Expand comment about casting ZST enumsWesley Wiser-1/+3
2019-12-30[const-prop] Clean up `check_cast()` a bitWesley Wiser-31/+35
2019-12-30[const-prop] Extract some functions out of `_const_prop`Wesley Wiser-91/+118
2019-12-30Lint overflowing integer casts in const propWesley Wiser-7/+46
2019-12-30Auto merge of #67631 - oli-obk:polymorphic_promotion, r=wesleywiserbors-22/+62
2019-12-29Auto merge of #66942 - cjgillot:hirene-ty, r=Zoxcbors-1/+1
2019-12-29Ensure that we don't cause *new* hard errors if we suddenly can evaluate more...Oliver Scherer-29/+41
2019-12-28Rollup merge of #67621 - matthewjasper:correct-static-type, r=oli-obkOliver Scherer-9/+8
2019-12-28Prevent polymorphic const prop on assignmentsOliver Scherer-0/+7
2019-12-28Work around a resolve bug in const propOliver Scherer-1/+7
2019-12-27Fallout in other crates.Camille GILLOT-1/+1
2019-12-27Fix `Instance::resolve()` incorrectly returning specialized instancesWesley Wiser-6/+21
2019-12-26Fallout in other crates.Camille GILLOT-1/+1
2019-12-25Use the correct type for static qualifsMatthew Jasper-9/+8
2019-12-23Dynamically prevent constants from accessing staticsOliver Scherer-0/+1
2019-12-22Format the worldMark Rousskov-2171/+1835
2019-12-22Auto merge of #66931 - cjgillot:hirene-preamble, r=eddybbors-1/+1
2019-12-21Use Arena inside hir::EnumDef.Camille GILLOT-1/+1
2019-12-21Rollup merge of #67333 - wesleywiser:fix_inline_into_box_place, r=oli-obkMazdak Farrokhzad-10/+20
2019-12-21Rollup merge of #67355 - Centril:merge-mut, r=oli-obkMazdak Farrokhzad-6/+6
2019-12-20[mir-opt] Fix `Inline` pass to handle inlining into `box` expressionsWesley Wiser-10/+20
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-6/+6
2019-12-20Rollup merge of #67130 - wesleywiser:const_prop_into_locals, r=oli-obkMazdak Farrokhzad-18/+34
2019-12-18Add Rvalue::AddressOf to MIRMatthew Jasper-72/+125
2019-12-16Rollup merge of #66570 - lzutao:stabilize-result-map_or, r=Dylan-DPCMazdak Farrokhzad-1/+1
2019-12-13Correctly mark things as `min_const_fn`Dylan MacKenzie-4/+6
2019-12-13Put MIR checks for loops behind the feature flagDylan MacKenzie-1/+7
2019-12-13Const prop should finish propagation into user defined variablesWesley Wiser-18/+34
2019-12-12Require `allow_internal_unstable` for stable min_const_fn using unstable feat...Oliver Scherer-5/+5
2019-12-11Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelixbors-390/+5
2019-12-11Rollup merge of #67015 - osa1:issue66971, r=wesleywiserMazdak Farrokhzad-11/+37
2019-12-11Rollup merge of #67134 - oli-obk:const_prop_zst, r=wesleywiserYuki Okushi-4/+9
2019-12-09Remove `uniform_array_move_out` passesMatthew Jasper-386/+2
2019-12-09Make const index and subslice array projections more usefulMatthew Jasper-4/+3
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-87/+87
2019-12-08Ensure that we get a hard error on generic ZST constants if their body causes...Oliver Scherer-4/+9
2019-12-07Auto merge of #65881 - anp:implicit-caller-location, r=eddyb,oli-obkbors-0/+5
2019-12-06Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obkMazdak Farrokhzad-32/+57
2019-12-06const-prop: Restrict scalar pair propagationÖmer Sinan Ağacan-11/+37
2019-12-06Fix rebase issuesvarkor-2/+2
2019-12-06Rename to `then_some` and `then`varkor-1/+1
2019-12-06Use `to_option` in various placesvarkor-1/+1
2019-12-05`#[track_caller]` suppresses MIR inlining.Adam Perry-0/+5
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-87/+87
2019-12-05update comment to explain the importance of this check more clearlyRemy Rakic-2/+3
2019-12-05make const-qualif look at more `const fn`sRemy Rakic-1/+5