#[track_caller] requires functions to have the "Rust" ABI for implicitly receiving caller location. See RFC 2091 for details on this and other restrictions.
#[track_caller]
"Rust"
Erroneous code example:
#[track_caller] extern "C" fn foo() {}
Back to list of error codes