rust/compiler/rustc_mir/src/util
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
..
aggregate.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
alignment.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
borrowck_errors.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
collect_writes.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
def_use.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
elaborate_drops.rs Reduce the number of drop-flag assignments in unwind paths 2020-10-04 07:54:01 -04:00
find_self_call.rs Note when a a move/borrow error is caused by a deref coercion 2020-09-10 20:56:20 -04:00
graphviz.rs Auto merge of #77552 - ecstatic-morse:body-def-id, r=lcnr 2020-10-05 09:26:32 +00:00
mod.rs Add CONST_ITEM_MUTATION lint 2020-09-07 08:44:35 -04:00
patch.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
pretty.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
spanview.rs Replace (Body, DefId) with Body where possible 2020-10-04 16:07:03 -07:00
storage.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00