rust/compiler/rustc_middle
Vadim Petrochenkov 7e76d94a22 effective visibility: Always add table entries for nodes used as parents
Previously if the parent was not in the table, and there was nothing to inherit from, the child's private visibility was used, but that's not correct - the parent may have a larger visibility so we should set it to at least the parent's private visibility.
That parent's private visibility is also inserted into the table for caching, so it's not recalculated later if used again.
2022-11-24 01:28:41 +03:00
..
src effective visibility: Always add table entries for nodes used as parents 2022-11-24 01:28:41 +03:00
Cargo.toml Fix doctest errors related to rustc_middle 2022-11-20 11:10:45 +09:00
README.md

For more information about how rustc works, see the rustc dev guide.