summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/mod.rs
AgeCommit message (Expand)AuthorLines
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-27Rollup merge of #95120 - smoelius:backward-switch-int, r=ecstatic-morseDylan DPC-0/+13
2022-03-26Address review commentsSamuel E. Moelius III-0/+13
2022-03-23Clarify more MIR docsJakob Degen-0/+15
2022-03-23Clarify which kinds of MIR are allowed during which phases.Jakob Degen-17/+39
2022-03-12Auto merge of #94733 - nnethercote:fix-AdtDef-interning, r=fee1-deadbors-4/+4
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-4/+4
2022-03-10The `Clone::clone` call is now a `ConstantKind::Val`, not a `ConstantKind::Ty`Scott McMurray-1/+1
2022-03-10mir-opt: Replace clone on primitives with copyScott McMurray-0/+30
2022-03-10Auto merge of #94059 - b-naber:constantkind-val-transformation, r=lcnrbors-1/+29
2022-03-10Auto merge of #94737 - lcnr:pass-stuff-by-value, r=davidtwcobors-1/+4
2022-03-09treat all mir::Constant values as ConstantKind::Valb-naber-1/+29
2022-03-08Auto merge of #94702 - b-naber:static-refs-mir, r=lcnrbors-1/+1
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-1/+4
2022-03-08treat literals in ExprKind::StaticRef as mir::ConstantKind::Valb-naber-1/+1
2022-03-07Introduce `ConstAllocation`.Nicholas Nethercote-1/+1
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-3/+3
2022-02-24Fix intra-doc link issues exposed by new macroAaron Hill-0/+1
2022-02-24Auto merge of #94131 - Mark-Simulacrum:fmt-string, r=oli-obkbors-7/+9
2022-02-20Revert "Auto merge of #93800 - b-naber:static-initializers-mir-val, r=oli-obk"Mark Rousskov-1/+1
2022-02-20Always format to internal String in FmtPrinterMark Rousskov-7/+9
2022-02-20Rollup merge of #94113 - Mizobrook-kan:issue-94025, r=estebankMatthias Krüger-0/+9
2022-02-18fix some typosMizobrook-kan-2/+2
2022-02-18document rustc_middle::mir::FieldMizobrook-kan-0/+9
2022-02-16Rollup merge of #94017 - fee1-dead:unub, r=bjorn3Matthias Krüger-2/+4
2022-02-15treat mir::ConstantKind::Val correctly in check_static_ptrb-naber-1/+1
2022-02-15Clarify confusing UB statement in MIRDeadbeef-2/+4
2022-02-15Overhaul `Const`.Nicholas Nethercote-11/+11
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1
2022-02-11add tainted_by_errors to mir::BodyMichael Goulet-0/+6
2022-02-04Rollup merge of #90132 - joshtriplett:stabilize-instrument-coverage, r=wesley...Matthias Krüger-1/+1
2022-02-01Fix two incorrect "it's"Frank Steffahn-2/+2
2022-01-31Rollup merge of #90277 - pierwill:fix-70258-inference-terms, r=jackh726Matthias Krüger-1/+1
2022-01-22Make `Decodable` and `Decoder` infallible.Nicholas Nethercote-7/+7
2022-01-18Remove some unused `Ord` derivations based on `DefId`pierwill-16/+6
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-14/+0
2022-01-16Auto merge of #92805 - BoxyUwU:revert-lazy-anon-const-substs, r=lcnrbors-4/+5
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-4/+2
2022-01-15initial revertEllen-4/+5
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-14/+0
2022-01-11Store a `Symbol` instead of an `Ident` in `VariantDef`/`FieldDef`Aaron Hill-2/+2
2022-01-03Rollup merge of #90102 - nbdd0121:box3, r=jonas-schievinkMatthias Krüger-2/+0
2022-01-01Stabilize -Z instrument-coverage as -C instrument-coverageJosh Triplett-1/+1
2021-12-22Store a `DefId` instead of an `AdtDef` in `AggregateKind::Adt`Aaron Hill-17/+15
2021-12-19Auto merge of #92099 - matthiaskrgr:rollup-4gwv67m, r=matthiaskrgrbors-8/+8
2021-12-15Remove `in_band_lifetimes` from `rustc_middle`Aaron Hill-8/+8
2021-12-15Remove unnecessary sigils around `Ident::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2021-12-10Suggest using a temporary variable to fix borrowck errorsNoah Lev-0/+14
2021-12-06Auto merge of #91279 - scottmcm:small-refactor, r=nagisabors-0/+1