diff --git a/profiling/src/type_check_impl.rs b/profiling/src/type_check_impl.rs index 7c01259..35b2e07 100644 --- a/profiling/src/type_check_impl.rs +++ b/profiling/src/type_check_impl.rs @@ -3,10 +3,10 @@ #[macro_export] macro_rules! scope { ($name:literal) => { - let _: &str = $name; + let _: &'static str = $name; }; ($name:literal, $data:expr) => { - let _: &str = $name; + let _: &'static str = $name; let _: &str = $data; }; }