about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/shim
AgeCommit message (Collapse)AuthorLines
2025-06-29mir: Use the `new` method for `BasicBlockData`dianqk-19/+13
2025-06-29mir: Add a `new` method to `statement`dianqk-19/+19
Avoid introducing a large number of changes when adding optional initialization fields.
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-6/+6
2025-05-23Async drop poll shim for error dropee generates noop body (fixes #140930)Andrew Zhogin-3/+4
2025-04-28AsyncDrop implementation using shim codegen of ↵Andrew Zhogin-600/+391
async_drop_in_place::{closure}, scoped async drop added.
2025-02-08Rustfmtbjorn3-13/+15
2025-01-28Represent the raw pointer for a array length check as a new kind of fake borrowMichael Goulet-9/+3
2024-12-18mir: require `is_cleanup` when creating `BasicBlockData`DianQK-1/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-4/+4
the behavior of the type system not only depends on the current assumptions, but also the currentnphase of the compiler. This is mostly necessary as we need to decide whether and how to reveal opaque types. We track this via the `TypingMode`.
2024-11-03compiler: Directly use rustc_abi in mir_transformJubilee Young-1/+1
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-4/+5
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-17/+15
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-1/+1
Lots of unnecessary `pub`s in this crate. Most are downgraded to `pub(super)`, though some don't need any visibility.
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-2/+2
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-1/+1
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-1/+1
2024-05-29Optimize async drop glue for some old typesDaria Sukhonina-6/+31
2024-05-13Auto merge of #125076 - compiler-errors:alias-term, r=lcnrbors-2/+1
Split out `ty::AliasTerm` from `ty::AliasTy` Splitting out `AliasTerm` (for use in project and normalizes goals) and `AliasTy` (for use in `ty::Alias`) r? lcnr
2024-05-13split out AliasTy -> AliasTermMichael Goulet-2/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-18Fix disabling the export of noop async_drop_in_place_rawDaria Sukhonina-25/+29
2024-04-17Use non-exhaustive matches for TyKindDaria Sukhonina-39/+41
Also no longer export noop async_drop_in_place_raw
2024-04-16Add simple async drop glue generationzetanumbers-0/+612
Explainer: https://zetanumbers.github.io/book/async-drop-design.html https://github.com/rust-lang/rust/pull/121801