We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IS_EVAL_ALWAYS
1 parent 47611e1 commit a565ae8Copy full SHA for a565ae8
compiler/rustc_query_impl/src/plumbing.rs
@@ -718,6 +718,8 @@ macro_rules! define_queries {
718
data: PhantomData<&'tcx ()>
719
}
720
721
+ pub(crate) const IS_EVAL_ALWAYS: bool = is_eval_always!([$($modifiers)*]);
722
+
723
const FLAGS: QueryFlags = QueryFlags {
724
is_anon: is_anon!([$($modifiers)*]),
725
is_depth_limit: depth_limit!([$($modifiers)*]),
@@ -984,7 +986,7 @@ macro_rules! define_queries {
984
986
$(pub(crate) fn $name<'tcx>() -> DepKindVTable<'tcx> {
985
987
use $crate::query_impl::$name::QueryType;
988
$crate::plumbing::make_dep_kind_vtable_for_query::<QueryType<'tcx>, _, _>(
- is_eval_always!([$($modifiers)*]),
989
+ $crate::query_impl::$name::IS_EVAL_ALWAYS,
990
)
991
})*
992
0 commit comments