Skip to content

Commit 522e900

Browse files
authored
Unrolled build for #151396
Rollup merge of #151396 - cache-cache, r=lqd `rustc_queries!`: Don't push the `(cache)` modifier twice Due to some kind of merge/rebase mishap in #101307 and #101173, we ended up with two copies of this query modifier. Thankfully the redundant copy was harmless. - #101307 - #101173
2 parents fffc4fc + 694b86e commit 522e900

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

compiler/rustc_macros/src/query.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,6 @@ pub(super) fn rustc_queries(input: TokenStream) -> TokenStream {
378378
return_result_from_ensure_ok,
379379
);
380380

381-
if modifiers.cache.is_some() {
382-
attributes.push(quote! { (cache) });
383-
}
384381
// Pass on the cache modifier
385382
if modifiers.cache.is_some() {
386383
attributes.push(quote! { (cache) });

0 commit comments

Comments
 (0)