Skip to content

Commit 794495e

Browse files
committed
Auto merge of rust-lang#151546 - Zoxc:feedable-macro-fix, r=Zalathar
Pass on the `feedable` query modifier to macros This passes on the `feedable` query modifier to macros so `QueryConfig.feedable` gives the correct result. Currently it's always false even for feedable queries. Fixing this bug enables some consistency checks for feedable queries that were previously not being performed, which has a perf impact.
2 parents 1d05e3c + 33b77c8 commit 794495e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_macros/src/query.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ pub(super) fn rustc_queries(input: TokenStream) -> TokenStream {
357357
no_hash,
358358
anon,
359359
eval_always,
360+
feedable,
360361
depth_limit,
361362
separate_provide_extern,
362363
return_result_from_ensure_ok,

0 commit comments

Comments
 (0)