about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2022-03-08Auto merge of #94702 - b-naber:static-refs-mir, r=lcnrbors-7/+17
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-7/+13
2022-03-08treat literals in ExprKind::StaticRef as mir::ConstantKind::Valb-naber-7/+17
2022-03-07Rollup merge of #94676 - TaKO8Ki:remove-unnecessary-pattens-for-ignoring-rema...Matthias Krüger-1/+1
2022-03-07Introduce `ConstAllocation`.Nicholas Nethercote-24/+59
2022-03-07remove unnecessary `..` patternsTakayuki Maeda-1/+1
2022-03-03Auto merge of #94512 - RalfJung:sdiv-ub, r=oli-obkbors-0/+6
2022-03-03Rollup merge of #94505 - cuviper:mono-item-sort-local, r=michaelwoerister,dav...Dylan DPC-5/+4
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-16/+16
2022-03-01Miri/CTFE: properly treat overflow in (signed) division/rem as UBRalf Jung-0/+6
2022-03-01Restore the local filter on mono item sortingJosh Stone-5/+4
2022-02-25Enable rustc_pass_by_value for SpanMark Rousskov-0/+6
2022-02-25Auto merge of #94130 - erikdesjardins:partially, r=nikicbors-0/+1
2022-02-25Auto merge of #93878 - Aaron1011:newtype-macro, r=cjgillotbors-0/+1
2022-02-25Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebankbors-1/+4
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-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+4
2022-02-22Delete Decoder::read_unitMark Rousskov-2/+1
2022-02-22Auto merge of #94254 - matthiaskrgr:rollup-7llbjhd, r=matthiaskrgrbors-1/+1
2022-02-22change `mir::Constant` in mir dumpslcnr-32/+23
2022-02-21ScalarMaybeUninit is explicitly hexadecimal in its formattingRalf Jung-1/+1
2022-02-21Auto merge of #94225 - matthiaskrgr:rollup-0728x8n, r=matthiaskrgrbors-29/+37
2022-02-21Rollup merge of #94203 - RalfJung:to_sized_int, r=oli-obkMatthias Krüger-21/+25
2022-02-21Rollup merge of #94189 - GuillaumeGomez:scalar-lower-hex, r=RalfJungMatthias Krüger-8/+12
2022-02-21Auto merge of #93505 - lcnr:substsref-vs-ty-list, r=michaelwoeristerbors-2/+2
2022-02-21use `List<Ty<'tcx>>` for tupleslcnr-2/+2
2022-02-20Revert "Auto merge of #93800 - b-naber:static-initializers-mir-val, r=oli-obk"Mark Rousskov-19/+7
2022-02-20CTFE engine: Scalar: expose size-generic to_(u)int methodsRalf Jung-21/+25
2022-02-20Always format to internal String in FmtPrinterMark Rousskov-7/+9
2022-02-20Auto merge of #93678 - steffahn:better_unsafe_diagnostics, r=nagisabors-6/+37
2022-02-20Improve `unused_unsafe` lintFrank Steffahn-6/+37
2022-02-20Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obkbors-12/+9
2022-02-20Implement LowerHex on Scalar to clean up their display in rustdocGuillaume Gomez-8/+12
2022-02-20Rollup merge of #94146 - est31:let_else, r=cjgillotMatthias Krüger-6/+4
2022-02-20Rollup merge of #94113 - Mizobrook-kan:issue-94025, r=estebankMatthias Krüger-0/+9
2022-02-20Rollup merge of #94091 - GuillaumeGomez:rustdoc-const-computed-value, r=oli-obkMatthias Krüger-0/+5
2022-02-19Adopt let else in more placesest31-6/+4
2022-02-19Don't render Const computed values in hexadecimal for DisplayGuillaume Gomez-0/+5
2022-02-19switch to limiting the number of init/uninit chunksErik Desjardins-0/+1
2022-02-19Rollup merge of #94006 - pierwill:upvar-field, r=nikomatsakisMatthias Krüger-2/+2
2022-02-18fix some typosMizobrook-kan-2/+2
2022-02-18document rustc_middle::mir::FieldMizobrook-kan-0/+9
2022-02-16Move ty::print methods to Drop-based scope guardsMark Rousskov-12/+9
2022-02-16Use a `Field` in `ConstraintCategory::ClosureUpvar`pierwill-2/+2
2022-02-16Rollup merge of #94020 - tmiasko:pp, r=oli-obkMatthias Krüger-0/+8
2022-02-16Rollup merge of #94017 - fee1-dead:unub, r=bjorn3Matthias Krüger-2/+4
2022-02-16Support pretty printing of invalid constantsTomasz Miąsko-0/+8
2022-02-15try to bless 32bit mir tests manuallyb-naber-3/+3
2022-02-15use mir::Visitor when collecting alloc_ids in pretty printingb-naber-7/+19