1
Fork 0

Remove dead args from functions

This commit is contained in:
Michael Goulet 2024-02-02 22:45:25 +00:00
parent 11f32b73e0
commit 6b2a8249c1
22 changed files with 32 additions and 124 deletions

View file

@ -52,7 +52,7 @@ impl From<DepNodeIndex> for QueryInvocationId {
}
}
pub(crate) struct MarkFrame<'a> {
pub struct MarkFrame<'a> {
index: SerializedDepNodeIndex,
parent: Option<&'a MarkFrame<'a>>,
}
@ -754,7 +754,6 @@ impl<D: Deps> DepGraphData<D> {
&self,
qcx: Qcx,
parent_dep_node_index: SerializedDepNodeIndex,
dep_node: &DepNode,
frame: Option<&MarkFrame<'_>>,
) -> Option<()> {
let dep_dep_node_color = self.colors.get(parent_dep_node_index);
@ -861,7 +860,7 @@ impl<D: Deps> DepGraphData<D> {
let prev_deps = self.previous.edge_targets_from(prev_dep_node_index);
for dep_dep_node_index in prev_deps {
self.try_mark_parent_green(qcx, dep_dep_node_index, dep_node, Some(&frame))?;
self.try_mark_parent_green(qcx, dep_dep_node_index, Some(&frame))?;
}
// If we got here without hitting a `return` that means that all