mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
e7b07ea7a1
Cleanup: HIR ty lowering: Consolidate the places that do assoc item probing & access checking Use `probe_assoc_item` (for hygienically probing an assoc item and checking if it's accessible wrt. visibility and stability) for assoc item constraints, too, not just for assoc type paths and make the privacy error translatable.