about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
diff options
context:
space:
mode:
authorCamille Gillot <gillot.camille@gmail.com>2022-09-14 19:11:53 +0200
committerGitHub <noreply@github.com>2022-09-14 19:11:53 +0200
commitcb2949e6425688078b6b3eb38d91f607ab280a16 (patch)
treeee18111f04f079ba00939aa65d55538f3032d07c /compiler/rustc_macros/src
parent3a4e3c778889fdf2c4ccb7af26f1e81fc324e98b (diff)
downloadrust-cb2949e6425688078b6b3eb38d91f607ab280a16.tar.gz
rust-cb2949e6425688078b6b3eb38d91f607ab280a16.zip
Update compiler/rustc_macros/src/query.rs
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 505b2d62a79..0536eed6bbf 100644
--- a/compiler/rustc_macros/src/query.rs
+++ b/compiler/rustc_macros/src/query.rs
@@ -383,7 +383,7 @@ pub fn rustc_queries(input: TokenStream) -> TokenStream {
         if let Some(remap_env_constness) = &modifiers.remap_env_constness {
             attributes.push(quote! { (#remap_env_constness) });
         }
-        // Pass on the const modifier
+        // Pass on the cache modifier
         if modifiers.cache.is_some() {
             attributes.push(quote! { (cache) });
         }