mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
privacy: Fix type privacy holes in RPITITs A subset of https://github.com/rust-lang/rust/pull/146470. Private types in RPITITs now report hard errors. Private types in bounds of associated types still only report the `private_bounds` lint due to unacceptable amount of breakage (https://github.com/rust-lang/rust/pull/146470#issuecomment-3682850214). Closes https://github.com/rust-lang/rust/issues/144139