We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa7aca3 commit 3565e8aCopy full SHA for 3565e8a
compiler/rustc_mir_transform/src/inline.rs
@@ -147,7 +147,7 @@ impl Inliner<'tcx> {
147
self.check_mir_body(callsite, callee_body, callee_attrs)?;
148
149
if !self.tcx.consider_optimizing(|| {
150
- format!("Inline {:?} into {}", callee_body.span, callsite.callee)
+ format!("Inline {:?} into {:?}", callsite.callee, caller_body.source)
151
}) {
152
return Err("optimization fuel exhausted");
153
}
0 commit comments