remove unnecessary function arg

This commit is contained in:
lcnr
2025-06-13 16:00:04 +02:00
parent 64f9c47211
commit 9c07e8ec80
@@ -653,7 +653,7 @@ pub fn with_new_goal(
// the global cache.
assert_eq!(result, expected, "input={input:?}");
} else if D::inspect_is_noop(inspect) {
self.insert_global_cache(cx, input, final_entry, result, dep_node)
self.insert_global_cache(cx, final_entry, result, dep_node)
}
} else if D::ENABLE_PROVISIONAL_CACHE {
debug_assert!(validate_cache.is_none(), "unexpected non-root: {input:?}");
@@ -1120,7 +1120,6 @@ fn evaluate_goal_in_task(
fn insert_global_cache(
&mut self,
cx: X,
input: X::Input,
final_entry: StackEntry<X>,
result: X::Result,
dep_node: X::DepNodeIndex,
@@ -1129,7 +1128,7 @@ fn insert_global_cache(
cx.with_global_cache(|cache| {
cache.insert(
cx,
input,
final_entry.input,
result,
dep_node,
final_entry.required_depth,