From 860a1ab1bf1998e9191ef0e8b9b119e18f20f75b Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Thu, 24 Jan 2019 05:06:03 -0500 Subject: [PATCH] add new trait bounds --- components/salsa-macros/src/query_group.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/salsa-macros/src/query_group.rs b/components/salsa-macros/src/query_group.rs index 5d3b506a..4e745ea9 100644 --- a/components/salsa-macros/src/query_group.rs +++ b/components/salsa-macros/src/query_group.rs @@ -204,7 +204,9 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream quote! { impl #trait_name for T where - T: #(salsa::plumbing::GetQueryTable<#qts> +)* #bounds + T: #(salsa::plumbing::GetQueryTable<#qts> +)* #bounds, + T: ::salsa::plumbing::GetQueryGroupStorage<#group_storage>, + T: ::salsa::plumbing::FromQueryGroupDescriptor<#group_descriptor>, { #query_fn_definitions }