Skip to content

Commit a7676eb

Browse files
committed
remove a redundant clause
1 parent 514039e commit a7676eb

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/testsuite/support/resolver.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -369,18 +369,6 @@ impl SatResolve {
369369
// `can_see` as being in terms of a set of `activations_key`s
370370
let mut can_see: HashMap<_, HashMap<_, varisat::Var>> = HashMap::new();
371371

372-
// if `p` `publicly_exports` `export` then it `can_see` `export`
373-
for (&p, exports) in &publicly_exports {
374-
for (&export_pid, export_var) in exports {
375-
let our_var = can_see
376-
.entry(p)
377-
.or_default()
378-
.entry(export_pid)
379-
.or_insert_with(|| cnf.new_var());
380-
cnf.add_clause(&[export_var.negative(), our_var.positive()]);
381-
}
382-
}
383-
384372
// if `p` has a `dep` that selected `ver` then it `can_see` all the things that the selected version `publicly_exports`
385373
for (&p, deps) in version_selected_for.iter() {
386374
for (_, versions) in deps {

0 commit comments

Comments
 (0)