We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d92cef7 commit 2d5ef8fCopy full SHA for 2d5ef8f
src/librustc_mir/shim.rs
@@ -69,8 +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 direct call to our #[track_caller] function which
73
- // requires an implicit caller location that the virtual call won't pass
+ // ...or we are generating a direct call to a function for which indirect calls must be
+ // codegen'd differently than direct ones (example: #[track_caller])
74
ty::InstanceDef::ReifyShim(def_id) => {
75
build_call_shim(
76
tcx,
0 commit comments