Skip to content

Commit 0735bd3

Browse files
committed
chore: revert accidental change
1 parent d64d1fe commit 0735bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/noirc_frontend/src/hir/resolution/visibility.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub(crate) fn module_descendent_of_target(
5959
return true;
6060
}
6161

62-
def_map[target]
62+
def_map[current]
6363
.parent
6464
.is_some_and(|parent| module_descendent_of_target(def_map, target, parent))
6565
}

0 commit comments

Comments
 (0)