fn function_has_access_guard( hir: &Hir<'_>, func_id: FunctionId, seen: &mut HashSet<FunctionId>, ) -> bool