add new trait bounds

This commit is contained in:
Niko Matsakis 2019-01-24 05:06:03 -05:00
parent 87dd14293e
commit 860a1ab1bf

View file

@ -204,7 +204,9 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
quote! {
impl<T> #trait_name for T
where
T: #(salsa::plumbing::GetQueryTable<#qts> +)* #bounds
T: #(salsa::plumbing::GetQueryTable<#qts> +)* #bounds,
T: ::salsa::plumbing::GetQueryGroupStorage<#group_storage<T>>,
T: ::salsa::plumbing::FromQueryGroupDescriptor<#group_descriptor>,
{
#query_fn_definitions
}