diff --git a/components/salsa-macros/src/tracked_fn.rs b/components/salsa-macros/src/tracked_fn.rs index 57023ef2..ea693858 100644 --- a/components/salsa-macros/src/tracked_fn.rs +++ b/components/salsa-macros/src/tracked_fn.rs @@ -75,6 +75,7 @@ impl Macro { let mut inner_fn = item.clone(); inner_fn.vis = syn::Visibility::Inherited; inner_fn.sig.ident = self.hygiene.ident("inner"); + inner_fn.sig.generics = parse_quote!(<#db_lt>); let zalsa = self.hygiene.ident("zalsa"); let Configuration = self.hygiene.ident("Configuration");