Implement next trait solver

This commit is contained in:
jackh726 2025-08-01 14:29:21 +00:00
parent 44bdfdf768
commit 9418a3f2df
109 changed files with 19148 additions and 1317 deletions

View file

@ -48,7 +48,8 @@ impl ToTokens for TrackedQuery {
quote!(#(#options),*)
})
.into_iter()
.chain(self.lru.map(|lru| quote!(lru = #lru)));
.chain(self.lru.map(|lru| quote!(lru = #lru)))
.chain(Some(quote!(unsafe(non_update_return_type))));
let annotation = quote!(#[salsa_macros::tracked( #(#options),* )]);
let pat_and_tys = &self.pat_and_tys;