diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-04-12 13:58:12 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-04-12 13:58:12 +0200 |
| commit | 15bfd9da8543b523571bebf0d7864b3b217947be (patch) | |
| tree | 3c69dfd6ddfd227cee0cf9558529b29e34f3c77f /compiler/rustc_query_impl | |
| parent | 67e402f94693f0bcf44381db4d92d2da164eb99a (diff) | |
| download | rust-15bfd9da8543b523571bebf0d7864b3b217947be.tar.gz rust-15bfd9da8543b523571bebf0d7864b3b217947be.zip | |
Introduce CompileMonoItem DepNode
Diffstat (limited to 'compiler/rustc_query_impl')
| -rw-r--r-- | compiler/rustc_query_impl/src/plumbing.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index 4194b28dc7d..ee914fa1ba9 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -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)*]); |
