2 // ignore-test: not a test, used by backtrace-debuginfo.rs to test file!()
5 pub fn callback<F>(f: F) where F: FnOnce((&'static str, u32)) {
9 // We emit the wrong location for the caller here when inlined on MSVC
10 #[cfg_attr(not(target_env = "msvc"), inline(always))]
11 #[cfg_attr(target_env = "msvc", inline(never))]
12 pub fn callback_inlined<F>(f: F) where F: FnOnce((&'static str, u32)) {