Update compiler/rustc_macros/src/query.rs
This commit is contained in:
parent
3a4e3c7788
commit
cb2949e642
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ pub fn rustc_queries(input: TokenStream) -> TokenStream {
|
||||||
if let Some(remap_env_constness) = &modifiers.remap_env_constness {
|
if let Some(remap_env_constness) = &modifiers.remap_env_constness {
|
||||||
attributes.push(quote! { (#remap_env_constness) });
|
attributes.push(quote! { (#remap_env_constness) });
|
||||||
}
|
}
|
||||||
// Pass on the const modifier
|
// Pass on the cache modifier
|
||||||
if modifiers.cache.is_some() {
|
if modifiers.cache.is_some() {
|
||||||
attributes.push(quote! { (cache) });
|
attributes.push(quote! { (cache) });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue