Skip to content

Don't attempt to compute layout of type referencing error #113773

New issue

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

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Jul 29, 2023

Conversation

compiler-errors
Copy link
Member

Leads to more ICEs and strange diagnostics than are worth it.

Fixes #113760

@rustbot
Copy link
Collaborator

rustbot commented Jul 16, 2023

r? @TaKO8Ki

(rustbot has picked a reviewer for you, use r? to override)

@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, 2023
@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Jul 21, 2023

☔ The latest upstream changes (presumably #113166) made this pull request unmergeable. Please resolve the merge conflicts.

@cjgillot
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jul 22, 2023

📌 Commit 131aeea7dce0d157d0a0dcd0b081c0a59d868a22 has been approved by cjgillot

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 Jul 22, 2023
@rust-log-analyzer

This comment has been minimized.

@compiler-errors
Copy link
Member Author

@bors r-

lemme fix that test, fallout from failing layout computation i guess 🤔

@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 Jul 22, 2023
@compiler-errors
Copy link
Member Author

r? @cjgillot

could use a tiny look at that last commit, it's there to suppress the CTFE errors from the more aggressive layout_of bailing.

@rustbot rustbot assigned cjgillot and unassigned TaKO8Ki Jul 27, 2023
@compiler-errors compiler-errors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jul 27, 2023
@cjgillot
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 28, 2023

📌 Commit d45eb41 has been approved by cjgillot

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 Jul 28, 2023
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jul 28, 2023
…=cjgillot

Don't attempt to compute layout of type referencing error

Leads to more ICEs and strange diagnostics than are worth it.

Fixes rust-lang#113760
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 29, 2023
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#113773 (Don't attempt to compute layout of type referencing error)
 - rust-lang#114107 (Prevent people from assigning me as a PR reviewer)
 - rust-lang#114124 (tests/ui/proc-macro/*: Migrate FIXMEs to check-pass)
 - rust-lang#114171 (Fix switch-stdout test for none unix/windows platforms)
 - rust-lang#114172 (Fix issue_15149 test for the SGX target)
 - rust-lang#114173 (btree/map.rs: remove "Basic usage" text)
 - rust-lang#114174 (doc: replace wrong punctuation mark)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 5dee519 into rust-lang:master Jul 29, 2023
@rustbot rustbot added this to the 1.73.0 milestone Jul 29, 2023
@compiler-errors compiler-errors deleted the err-layout-bail branch August 11, 2023 20:00
# for free to join this conversation on GitHub. Already have an account? # 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.

ICE: field.0.is_sized()
6 participants