privacy: document unordered visibility limit#155792
privacy: document unordered visibility limit#155792SynapLink wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
rustbot has assigned @nikomatsakis. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
The FIXME is mostly for me, I'd like to find specific examples on which this code is triggered, whether they can be turned into errors, and what the |
Im sorry. Ive used llm to summarize the whole thing, but i genuinely want to contribute to the repo, are there opened problems which needs to be solved or would you suggest some other thing, sorry for disturbing. |
Follow-up to #155257.\n\nWhile investigating the FIXME in EffectiveVisibilities::update, the unordered case comes from restricted visibilities forming a tree: restrictions to sibling modules are incomparable. This documents the current behavior for the nominal visibility limit case, where the inherited effective visibility is preserved because there is no single Visibility that can represent the intersection.\n\nNo behavior change.