Unify query name and node name.

This commit is contained in:
Camille GILLOT 2020-10-11 20:46:46 +02:00
parent de763701e1
commit de7da7fd3d
3 changed files with 4 additions and 4 deletions

View file

@ -490,7 +490,7 @@ pub fn rustc_queries(input: TokenStream) -> TokenStream {
// Add the query to the group
query_stream.extend(quote! {
#(#doc_comments)*
[#attribute_stream] fn #name: #name(#arg) #result,
[#attribute_stream] fn #name(#arg) #result,
});
// Create a dep node for the query