Skip to content

(re-)Fix private-in-public for RPITIT #144139

@compiler-errors

Description

@compiler-errors

#143357 fixed a latent bug where we weren't detecting private-in-public errors for RPITITs. In order to not break any existing code, @cjgillot temporarily reenabled the previous behavior in #144098.

This issue tracks the crater run to determine if that change had any real-world fallout. Ideally we fix the fallout and re-enable the intended behavior, which is to actually detect private-in-public errors in RPITITs just like RPITs and normal associated items. I'm opening an issue just to make sure the crater run doesn't get forgotten on a closed PR. I probably should've started the crater run here, but oh well! :^)

cc @cjgillot @petrochenkov


You can check out the queue and this experiment's details.

Originally posted by @craterbot in #144098 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.F-return_position_impl_trait_in_trait`#![feature(return_position_impl_trait_in_trait)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions