We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 407d1d5 commit 2dbc62bCopy full SHA for 2dbc62b
src/librustc_mir/shim.rs
@@ -69,7 +69,8 @@ fn make_shim<'tcx>(tcx: TyCtxt<'tcx>, instance: ty::InstanceDef<'tcx>) -> &'tcx
69
// We are generating a call back to our def-id, which the
70
// codegen backend knows to turn to an actual virtual call.
71
ty::InstanceDef::Virtual(def_id, _) |
72
- // ...or we are generating a call to the inner closure defined by #[track_caller]
+ // ...or we are generating a direct call to our #[track_caller] function which
73
+ // requires an implicit caller location that the virtual call won't pass
74
ty::InstanceDef::ReifyShim(def_id) => {
75
build_call_shim(
76
tcx,
0 commit comments