hir_analysis: prohibit dyn PointeeSized by davidtwco · Pull Request #143104 · rust-lang/rust (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation17 Commits1 Checks10 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

@davidtwco

Fixes #142652
Supersedes #142663

dyn PointeeSized is nonsensical as a dyn PointeeSized needs to be MetaSized, so lets reject it to avoid hitting code paths that expect a builtin impl for PointeeSized

r? @compiler-errors

@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

Jun 27, 2025

@rustbot

HIR ty lowering was modified

cc @fmease

@compiler-errors

This is gonna fail tidy b/c you're not supposed to name tests issue-###-....

compiler-errors

@rust-log-analyzer

This comment was marked as resolved.

@davidtwco

@rust-log-analyzer

This comment has been minimized.

compiler-errors

@compiler-errors

@bors

📌 Commit 50d7735 has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors 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

Jun 27, 2025

@compiler-errors

@bors r-

Please consider installing that tidy commit hook lol, or at least manually checking tidy before you push

@bors bors 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-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Jun 27, 2025

@davidtwco

Please consider installing that tidy commit hook lol, or at least manually checking tidy before you push

I normally do, was just careless at the end of the work day.

@davidtwco

@bors r=compiler-errors rollup

@bors

📌 Commit 2057423 has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors 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-author

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

labels

Jun 27, 2025

bors added a commit that referenced this pull request

Jun 27, 2025

@bors

Rollup of 9 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit that referenced this pull request

Jun 28, 2025

@rust-timer

Rollup merge of #143104 - davidtwco:issue-142652-dyn-pointeesized-deny, r=compiler-errors

hir_analysis: prohibit dyn PointeeSized

Fixes #142652 Supersedes #142663

dyn PointeeSized is nonsensical as a dyn PointeeSized needs to be MetaSized, so lets reject it to avoid hitting code paths that expect a builtin impl for PointeeSized

r? @compiler-errors

@davidtwco davidtwco deleted the issue-142652-dyn-pointeesized-deny branch

June 28, 2025 02:18

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

Jun 28, 2025

@bors

flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request

Jul 10, 2025

@bors

This was referenced

Jul 24, 2025

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.