remove unused GroupData associated type

This commit is contained in:
Niko Matsakis 2020-07-01 09:59:35 +00:00
parent 1b778760ae
commit 799ddce157
2 changed files with 0 additions and 8 deletions

View file

@ -193,7 +193,6 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
let mut query_fn_declarations = proc_macro2::TokenStream::new();
let mut query_fn_definitions = proc_macro2::TokenStream::new();
let mut query_descriptor_variants = proc_macro2::TokenStream::new();
let mut group_data_elements = vec![];
let mut storage_fields = proc_macro2::TokenStream::new();
let mut queries_with_storage = vec![];
for query in &queries {
@ -289,11 +288,6 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
#fn_name((#(#keys),*)),
});
// Entry for the query group data tuple
group_data_elements.push(quote! {
(#(#keys,)* #value)
});
// A field for the storage struct
//
// FIXME(#120): the pub should not be necessary once we complete the transition
@ -326,7 +320,6 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
{
type GroupStorage = #group_storage<DB__>;
type GroupKey = #group_key;
type GroupData = (#(#group_data_elements),*);
}
});