mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
b20e49f5e6
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