mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 13:07:37 +00:00
![]() Replace `(Body, DefId)` with `Body` where possible Follow-up to #77430. I `grep`-ed for parameter lists in which a `Body` appeared within a few lines of a `DefId`, so it's possible that I missed some cases, but this should be pretty complete. Most of these changes were mechanical, but there's a few places where I started calling things "caller" and "callee" when multiple `DefId`s were in-scope at once. Also, we should probably have a helper function on `Body` that returns a `LocalDefId`. I can do that in this PR or in a follow-up. |
||
---|---|---|
.. | ||
expr | ||
matches | ||
block.rs | ||
cfg.rs | ||
into.rs | ||
misc.rs | ||
mod.rs | ||
scope.rs |