about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src/dep_graph/mod.rs
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-02-24 00:48:50 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-03-09 06:14:34 +0100
commit60ed37c2e16a9b426f84501a9ae4a5f22741816c (patch)
tree23febb7ca1de014260bb6a1b9f26a1e748040ece /compiler/rustc_query_system/src/dep_graph/mod.rs
parent6a179026decb823e6ad8ba1c81729528bc5d695f (diff)
downloadrust-60ed37c2e16a9b426f84501a9ae4a5f22741816c.tar.gz
rust-60ed37c2e16a9b426f84501a9ae4a5f22741816c.zip
Move dep graph methods to DepGraphData to avoid branches and `unwrap`s
Diffstat (limited to 'compiler/rustc_query_system/src/dep_graph/mod.rs')
-rw-r--r--compiler/rustc_query_system/src/dep_graph/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/dep_graph/mod.rs b/compiler/rustc_query_system/src/dep_graph/mod.rs
index ba83b775631..5a7b9ae2ab4 100644
--- a/compiler/rustc_query_system/src/dep_graph/mod.rs
+++ b/compiler/rustc_query_system/src/dep_graph/mod.rs
@@ -6,7 +6,8 @@ mod serialized;
 
 pub use dep_node::{DepKindStruct, DepNode, DepNodeParams, WorkProductId};
 pub use graph::{
-    hash_result, DepGraph, DepNodeColor, DepNodeIndex, TaskDeps, TaskDepsRef, WorkProduct,
+    hash_result, DepGraph, DepGraphData, DepNodeColor, DepNodeIndex, TaskDeps, TaskDepsRef,
+    WorkProduct,
 };
 pub use query::DepGraphQuery;
 pub use serialized::{SerializedDepGraph, SerializedDepNodeIndex};