1
Fork 0

Introduce CompileMonoItem DepNode

This commit is contained in:
bjorn3 2021-04-12 13:58:12 +02:00
parent 67e402f946
commit 15bfd9da85
4 changed files with 38 additions and 9 deletions

View file

@ -438,6 +438,11 @@ macro_rules! define_queries {
try_load_from_on_disk_cache: |_, _| {},
};
pub const CompileMonoItem: QueryStruct = QueryStruct {
force_from_dep_node: |_, _| false,
try_load_from_on_disk_cache: |_, _| {},
};
$(pub const $name: QueryStruct = {
const is_anon: bool = is_anon!([$($modifiers)*]);