Instead of inferring module's declared visibility by looking at the scope of its parent, let's just remeber the declared visibility in the DefMap.
Instead of inferring module's declared visibility by looking at the scope of its parent, let's just remeber the declared visibility in the DefMap.