diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2020-02-08 05:30:45 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2020-03-14 22:52:30 +0100 |
| commit | b97d4383a4e82b084e9044ea47bad39fbfb91649 (patch) | |
| tree | 209c1e32c3453516bbf7ae1b4ad9d3b1b1647239 /src/librustc_incremental/assert_dep_graph.rs | |
| parent | e9d166fac54dc3944e293121c732ff709acfd9e3 (diff) | |
Remove `Hir` and `HirBody` dep nodes
Diffstat (limited to 'src/librustc_incremental/assert_dep_graph.rs')
| -rw-r--r-- | src/librustc_incremental/assert_dep_graph.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_incremental/assert_dep_graph.rs b/src/librustc_incremental/assert_dep_graph.rs index 7686a507ff5..7ddb29c3cb6 100644 --- a/src/librustc_incremental/assert_dep_graph.rs +++ b/src/librustc_incremental/assert_dep_graph.rs @@ -120,7 +120,7 @@ impl IfThisChanged<'tcx> { if attr.check_name(sym::rustc_if_this_changed) { let dep_node_interned = self.argument(attr); let dep_node = match dep_node_interned { - None => DepNode::from_def_path_hash(def_path_hash, DepKind::Hir), + None => DepNode::from_def_path_hash(def_path_hash, DepKind::hir_owner), Some(n) => match DepNode::from_label_string(&n.as_str(), def_path_hash) { Ok(n) => n, Err(()) => { |
