about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-2/+2
2024-03-27Rollup merge of #123021 - compiler-errors:coroutine-layout-lol, r=oli-obkGuillaume Gomez-2/+3
2024-03-26Auto merge of #111769 - saethlin:ctfe-backtrace-ctrlc, r=RalfJungbors-0/+2
2024-03-24Require coroutine kind type to be passed to TyCtxt::coroutine_layoutMichael Goulet-2/+3
2024-03-24Address PR feedbackScott McMurray-0/+8
2024-03-24Rollup merge of #122937 - Zalathar:unbox, r=oli-obkMatthias Krüger-12/+7
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-1/+9
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-13/+6
2024-03-23rename MIR int2ptr casts to match library nameRalf Jung-2/+2
2024-03-23rename ptr::from_exposed_addr -> ptr::with_exposed_provenanceRalf Jung-1/+1
2024-03-23Unbox and unwrap the contents of `StatementKind::Coverage`Zalathar-12/+7
2024-03-22Ty::new_ref and Ty::new_ptr stop using TypeAndMutMichael Goulet-2/+2
2024-03-22Codegen const panic messages as function callsMark Rousskov-24/+49
2024-03-22Rollup merge of #122820 - oli-obk:no_ord_def_id, r=estebankMatthias Krüger-3/+11
2024-03-22Rollup merge of #122542 - Zalathar:cleanup, r=oli-obkMatthias Krüger-3/+3
2024-03-22Rollup merge of #122537 - RalfJung:interpret-allocation, r=oli-obkMatthias Krüger-11/+31
2024-03-22coverage: Clean up marker statements that aren't needed laterZalathar-3/+3
2024-03-21Stop `ConstraintCategory` `Ord` impl from relying on `Ty`'s `Ord` impl.Oli Scherer-2/+10
2024-03-21Remove unnecessary Partial/Ord implOli Scherer-1/+1
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-0/+46
2024-03-20Auto merge of #120717 - compiler-errors:cap-closure-kind, r=oli-obkbors-14/+5
2024-03-20mentioned_items: record all callee and coerced closure types, whether they ar...Ralf Jung-6/+18
2024-03-20mentioned items: also handle closure-to-fn-ptr coercionsRalf Jung-1/+2
2024-03-20mentioned items: also handle vtablesRalf Jung-1/+5
2024-03-20avoid processing mentioned items that are also still usedRalf Jung-1/+1
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-0/+29
2024-03-20Rollup merge of #121543 - onur-ozkan:clippy-args, r=oli-obkMatthias Krüger-2/+2
2024-03-20resolve clippy errorsonur-ozkan-2/+2
2024-03-19Fix ABI for FnMut/Fn impls for async closuresMichael Goulet-0/+1
2024-03-19Only split by-ref/by-move futures for async closuresMichael Goulet-14/+4
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-13/+13
2024-03-17Print a backtrace in const eval if interruptedBen Kimock-0/+2
2024-03-16Auto merge of #121926 - tgross35:f16-f128-step3-feature-gate, r=compiler-erro...bors-1/+21
2024-03-15interpret/allocation: fix aliasing issue in interpreter and refactor getters ...Ralf Jung-11/+31
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-1/+8
2024-03-14Add compiler support for parsing `f16` and `f128`Trevor Gross-1/+21
2024-03-14coverage: Data structures for recording branch info during MIR buildingZalathar-2/+51
2024-03-13coverage: Add `CoverageKind::BlockMarker`Zalathar-0/+16
2024-03-12Avoid lowering code under dead SwitchInt targetsBen Kimock-3/+126
2024-03-12s/mt/mutability/Oli Scherer-2/+4
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-1/+11
2024-03-12Add `nested` bool to `DefKind::Static`.Oli Scherer-2/+4
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-2/+2
2024-03-11Make `DefiningAnchor::Bind` only store the opaque types that may be constrain...Oli Scherer-0/+10
2024-03-11Auto merge of #122132 - nnethercote:diag-renaming3, r=nnethercotebors-12/+12
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-12/+12
2024-03-10MIR printing: print the path of uneval'd const; refer to promoteds in a consi...Ralf Jung-4/+17
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-4/+12
2024-03-08Auto merge of #122182 - matthiaskrgr:rollup-gzimi4c, r=matthiaskrgrbors-72/+83
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-72/+83