diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-01-31 14:50:42 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-01-31 15:15:01 +1100 |
| commit | 1d2cb611f7320849cd14e2af60de9335d3db7dbe (patch) | |
| tree | de2594b3e77caa3d34dbc8f97eb744d99daeca26 /compiler/rustc_mir_build/src/builder/custom/mod.rs | |
| parent | 4b025ca083948c573a6b4affc0dedf3e4275dd4d (diff) | |
| download | rust-1d2cb611f7320849cd14e2af60de9335d3db7dbe.tar.gz rust-1d2cb611f7320849cd14e2af60de9335d3db7dbe.zip | |
Remove the `mir_build` hook.
It was downgraded from a query in #122721 but it can just be a vanilla function because it's not called in `rustc_middle`.
Diffstat (limited to 'compiler/rustc_mir_build/src/builder/custom/mod.rs')
| -rw-r--r-- | compiler/rustc_mir_build/src/builder/custom/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/builder/custom/mod.rs b/compiler/rustc_mir_build/src/builder/custom/mod.rs index ca2e1dd7a1a..bfc16816e2e 100644 --- a/compiler/rustc_mir_build/src/builder/custom/mod.rs +++ b/compiler/rustc_mir_build/src/builder/custom/mod.rs @@ -6,7 +6,7 @@ //! present, and if so we branch off into this module, which implements the attribute by //! implementing a custom lowering from THIR to MIR. //! -//! The result of this lowering is returned "normally" from the `build_mir` hook, with the only +//! The result of this lowering is returned "normally" from `build_mir`, with the only //! notable difference being that the `injected` field in the body is set. Various components of the //! MIR pipeline, like borrowck and the pass manager will then consult this field (via //! `body.should_skip()`) to skip the parts of the MIR pipeline that precede the MIR phase the user |
