Fix detailed_trace
module scope (#15912)
# Objective Fixes #15615 ## Solution `$crate` is a cool keyword metavariable ## Testing Created a test crate and used the macro ## Showcase 
This commit is contained in:
parent
8a655e4d27
commit
63a3a987c6
@ -412,7 +412,7 @@ pub fn error<E: Debug>(result: Result<(), E>) {
|
||||
macro_rules! detailed_trace {
|
||||
($($tts:tt)*) => {
|
||||
if cfg!(detailed_trace) {
|
||||
bevy_utils::tracing::trace!($($tts)*);
|
||||
$crate::tracing::trace!($($tts)*);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user