Skip to content

Commit cb2949e

Browse files
authored
Update compiler/rustc_macros/src/query.rs
1 parent 3a4e3c7 commit cb2949e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_macros/src/query.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ pub fn rustc_queries(input: TokenStream) -> TokenStream {
383383
if let Some(remap_env_constness) = &modifiers.remap_env_constness {
384384
attributes.push(quote! { (#remap_env_constness) });
385385
}
386-
// Pass on the const modifier
386+
// Pass on the cache modifier
387387
if modifiers.cache.is_some() {
388388
attributes.push(quote! { (cache) });
389389
}

0 commit comments

Comments
 (0)