]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #89415 - wesleywiser:inliner_caller_callsite_message, r=michaelwoerister
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 1 Oct 2021 16:18:20 +0000 (09:18 -0700)
committerGitHub <noreply@github.com>
Fri, 1 Oct 2021 16:18:20 +0000 (09:18 -0700)
Correct caller/callsite confusion in inliner message

`callee_body` is the MIR `Body` for the `callsite.callee` so this message basically says `"Inline {bar span} into bar"` when it should say `"Inline bar into foo"`.

Extracted out of #82280


Trivial merge