Skip to content

Add regression test for private fields lint - #161509

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
KevinA-cpu:regression-test-81447
Aug 24, 2026
Merged

Add regression test for private fields lint#161509
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
KevinA-cpu:regression-test-81447

Conversation

@KevinA-cpu

@KevinA-cpu KevinA-cpu commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

closes #81447

@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 Aug 22, 2026
@rustbot

rustbot commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

r? @chenyukang

rustbot has assigned @chenyukang.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 75 candidates
  • Random selection from 21 candidates

@chenyukang

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-bors Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit fe8985b has been approved by chenyukang

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 24, 2026
rust-bors Bot pushed a commit that referenced this pull request Aug 24, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - #159434 (fix: suggest removing a trailing semicolon when a closure argument fails a trait bound)
 - #160428 (Add more context to dyn-compatibility diagnostic for receiver-less associated functions)
 - #161166 (add crashtests [5/N], remove unused aux files )
 - #161310 (Add regression test for extern crate alias shadowed by a module of the same name)
 - #161509 (Add regression test for private fields lint)
 - #161562 (More EC2 instance usage)
@rust-bors
rust-bors Bot merged commit e581d63 into rust-lang:main Aug 24, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Aug 24, 2026
rust-bors Bot pushed a commit that referenced this pull request Aug 24, 2026
Rollup merge of #161509 - KevinA-cpu:regression-test-81447, r=chenyukang

Add regression test for private fields lint

closes #81447
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Aug 24, 2026
…uwer

Rollup of 6 pull requests

Successful merges:

 - rust-lang/rust#159434 (fix: suggest removing a trailing semicolon when a closure argument fails a trait bound)
 - rust-lang/rust#160428 (Add more context to dyn-compatibility diagnostic for receiver-less associated functions)
 - rust-lang/rust#161166 (add crashtests [5/N], remove unused aux files )
 - rust-lang/rust#161310 (Add regression test for extern crate alias shadowed by a module of the same name)
 - rust-lang/rust#161509 (Add regression test for private fields lint)
 - rust-lang/rust#161562 (More EC2 instance usage)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect private field diagnostic when self is passed

3 participants