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 ea3ecf2 commit 1cdd5d0Copy full SHA for 1cdd5d0
src/librustc/ty/instance.rs
@@ -28,7 +28,10 @@ pub enum InstanceDef<'tcx> {
28
29
/// `fn()` pointer where the function itself cannot be turned into a pointer.
30
///
31
- /// One example in the compiler today is functions annotated with `#[track_caller]`.
+ /// One example in the compiler today is functions annotated with `#[track_caller]`, which
32
+ /// must have their implicit caller location argument populated for a call. Because this is a
33
+ /// required part of the function's ABI but can't be tracked as a property of the function
34
+ /// pointer, we create a single "caller location" at the site where the function is reified.
35
ReifyShim(DefId),
36
37
/// `<fn() as FnTrait>::call_*`
0 commit comments