about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2020-10-11 20:46:46 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2020-10-22 22:49:04 +0200
commitde7da7fd3db58e5f58f82635c794bb8bdf9b269f (patch)
tree6ff60eb032beee4b4260294266645f279f543730 /compiler/rustc_macros/src
parentde763701e19945866b540c8c0b105b78d83917ce (diff)
downloadrust-de7da7fd3db58e5f58f82635c794bb8bdf9b269f.tar.gz
rust-de7da7fd3db58e5f58f82635c794bb8bdf9b269f.zip
Unify query name and node name.
Diffstat (limited to 'compiler/rustc_macros/src')
-rw-r--r--compiler/rustc_macros/src/query.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/query.rs b/compiler/rustc_macros/src/query.rs
index df569566f76..21e7655dcd8 100644
--- a/compiler/rustc_macros/src/query.rs
+++ b/compiler/rustc_macros/src/query.rs
@@ -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