blob: 50c6849b49ce37e37b316816c7c9363b78e1fe11 [file] [view]
`#[track_caller]` requires functions to have the `"Rust"` ABI for implicitly
receiving caller location. See [RFC 2091] for details on this and other
restrictions.
Erroneous code example:
```compile_fail,E0737
#[track_caller]
extern "C" fn foo() {}
```
[RFC 2091]: https://rust-lang.github.io/rfcs/2091-inline-semantic.html