pub fn peek_visible_in(
db: &dyn DefsGroup,
visibility_in_module: Visibility,
containing_module_id: ModuleId,
user_module_id: ModuleId,
) -> bool
Expand description
Determine whether a module member is visible to user module given the visibility within it, ignoring or forgetting the visibility of the ancestors of the containing module for a moment.