mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-09 05:36:17 +00:00

Remove visibility information from HIR The resolver exports all the necessary visibility information through the `tcx.visibility` query. This PR stops having a dedicated visibility field in HIR, in order to use this query. We keep a `vis_span` field for diagnostic purposes.
For more information about how rustc works, see the rustc dev guide.