Move polarity into PolyTraitRef rather than storing it on the side by compiler-errors · Pull Request #131652 · 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

Conversation11 Commits2 Checks6 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 }})

compiler-errors

Arguably we could move these modifiers into TraitRef instead of PolyTraitRef, but I see TraitRef as simply the path part of the trait ref. It doesn't really matter -- refactoring this further is much easier now.

@rustbot

r? @Nadrieril

rustbot has assigned @Nadrieril.
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

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

T-rustdoc

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

labels

Oct 13, 2024

@rustbot

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

Some changes occurred in src/tools/rustfmt

cc @rust-lang/rustfmt

HIR ty lowering was modified

cc @fmease

Nadrieril

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable and like a nice improvement! I lack all context particularly for the first commit though so I'll let someone more knowledgeable call this.

r? compiler

@chenyukang

jieyouxu

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me as well. As to removing the hack, if no tests fail then I think we're good 🤷 You can r=Nadrieril and me after a rebase.

@jieyouxu

@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

Oct 14, 2024

jieyouxu

@bors

@compiler-errors

@compiler-errors

@compiler-errors

@bors r=Nadrieril,jieyouxu

@bors

📌 Commit 95dba28 has been approved by Nadrieril,jieyouxu

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

Oct 14, 2024

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

Oct 14, 2024

@matthiaskrgr

…eril,jieyouxu

Move polarity into PolyTraitRef rather than storing it on the side

Arguably we could move these modifiers into TraitRef instead of PolyTraitRef, but I see TraitRef as simply the path part of the trait ref. It doesn't really matter -- refactoring this further is much easier now.

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

Oct 14, 2024

@matthiaskrgr

…eril,jieyouxu

Move polarity into PolyTraitRef rather than storing it on the side

Arguably we could move these modifiers into TraitRef instead of PolyTraitRef, but I see TraitRef as simply the path part of the trait ref. It doesn't really matter -- refactoring this further is much easier now.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 15, 2024

@bors

…iaskrgr

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 15, 2024

@bors

…iaskrgr

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 15, 2024

@bors

…iaskrgr

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 15, 2024

@bors

…iaskrgr

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Oct 15, 2024

@rust-timer

Rollup merge of rust-lang#131652 - compiler-errors:modifiers, r=Nadrieril,jieyouxu

Move polarity into PolyTraitRef rather than storing it on the side

Arguably we could move these modifiers into TraitRef instead of PolyTraitRef, but I see TraitRef as simply the path part of the trait ref. It doesn't really matter -- refactoring this further is much easier now.

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

Oct 18, 2024

@bors

…iaskrgr

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

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.

T-rustdoc

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