Skip to content

Commit

Permalink
Update compiler/rustc_macros/src/query.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot authored Sep 14, 2022
1 parent 3a4e3c7 commit cb2949e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_macros/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) });
}
Expand Down

0 comments on commit cb2949e

Please sign in to comment.