tests: add private RPITIT & exported_private_dependencies tests by mladedav · Pull Request #144020 · rust-lang/rust

@mladedav

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Jul 16, 2025

@rustbot rustbot added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jul 16, 2025

@mladedav mladedav changed the title tests: add private rpitit tests tests: add private RPITIT & exported_private_dependencies tests

Jul 16, 2025

@rustbot rustbot removed the S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

label

Jul 18, 2025

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jul 19, 2025
…rrors

Do not lint private-in-public for RPITIT

Fixes the hard error introduced by rust-lang#143357

Instead of trying to accept this hard error directly, this PR copies tests from rust-lang#144020 and removes the error.

If the behaviour is actually desirable, the second commit can be reverted with a proper crater run.

cc rust-lang#143531 for bookkeeping

r? `@compiler-errors`

rust-timer added a commit that referenced this pull request

Jul 19, 2025
Rollup merge of #144098 - cjgillot:lint-rpitit, r=compiler-errors

Do not lint private-in-public for RPITIT

Fixes the hard error introduced by #143357

Instead of trying to accept this hard error directly, this PR copies tests from #144020 and removes the error.

If the behaviour is actually desirable, the second commit can be reverted with a proper crater run.

cc #143531 for bookkeeping

r? `@compiler-errors`

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request

Jul 20, 2025
Do not lint private-in-public for RPITIT

Fixes the hard error introduced by rust-lang/rust#143357

Instead of trying to accept this hard error directly, this PR copies tests from rust-lang/rust#144020 and removes the error.

If the behaviour is actually desirable, the second commit can be reverted with a proper crater run.

cc rust-lang/rust#143531 for bookkeeping

r? `@compiler-errors`

Muscraft pushed a commit to Muscraft/rust that referenced this pull request

Jul 21, 2025
…rrors

Do not lint private-in-public for RPITIT

Fixes the hard error introduced by rust-lang#143357

Instead of trying to accept this hard error directly, this PR copies tests from rust-lang#144020 and removes the error.

If the behaviour is actually desirable, the second commit can be reverted with a proper crater run.

cc rust-lang#143531 for bookkeeping

r? `@compiler-errors`