Error code E0736

#[track_caller] and #[naked] cannot both be applied to the same function.

Erroneous code example:

#![allow(unused)] fn main() { #[naked] #[track_caller] fn foo() {} }

This is primarily due to ABI incompatibilities between the two attributes. See RFC 2091 for details on this and other limitations.