rust/compiler/rustc_mir_build/src/build
bors 62bfcfd8a3 Auto merge of #77552 - ecstatic-morse:body-def-id, r=lcnr
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.
2020-10-05 09:26:32 +00:00
..
expr Defer creating drop trees in MIR lowering until leaving that scope 2020-10-04 07:54:01 -04:00
matches Add some more comments 2020-10-04 07:54:02 -04:00
block.rs Defer creating drop trees in MIR lowering until leaving that scope 2020-10-04 07:54:01 -04:00
cfg.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
into.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
misc.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mod.rs Auto merge of #77552 - ecstatic-morse:body-def-id, r=lcnr 2020-10-05 09:26:32 +00:00
scope.rs Apply suggestions from review 2020-10-04 07:54:03 -04:00