mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-02-04 19:12:47 +00:00
Merge pull request #135 from nikomatsakis/non-camel-case-types
apply `non_camel_case_types` to the enum variant
This commit is contained in:
commit
1b9aaf2599
1 changed files with 1 additions and 0 deletions
|
@ -342,6 +342,7 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
|
|||
// Emit query group descriptor
|
||||
output.extend(quote! {
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
#[allow(non_camel_case_types)]
|
||||
#trait_vis enum #group_key {
|
||||
#query_descriptor_variants
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue