rustbot
added
S-waiting-on-review
labels
Mar 13, 2025bors added a commit to rust-lang-ci/rust that referenced this pull request
Mar 13, 2025type privacy: Check constructor types in tuple struct patterns This fixes a hole in type privacy checker. In `TupleStruct(something)` expression the `TupleStruct` part has its type recorded and we are checking it, but in patterns only type of the whole pattern is kept, so we were missing the constructor's type in the privacy check.
Closed
bors added a commit to rust-lang-ci/rust that referenced this pull request
Mar 17, 2025type privacy: Check constructor types in tuple struct patterns This fixes a hole in type privacy checker. In `TupleStruct(something)` expression the `TupleStruct` part has its type recorded and we are checking it, but in patterns only type of the whole pattern is kept, so we were missing the constructor's type in the privacy check.
rustbot
added
S-waiting-on-author
and removed S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.labels
Mar 18, 2025