From: Camille Gillot Date: Wed, 14 Sep 2022 17:11:53 +0000 (+0200) Subject: Update compiler/rustc_macros/src/query.rs X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=cb2949e6425688078b6b3eb38d91f607ab280a16;p=rust.git Update compiler/rustc_macros/src/query.rs --- 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) }); }