Skip to content

Dont bail in error predicate unless self ty is error in new solver - #150453

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
ChayimFriedman2:less-err-in-solver
Jun 5, 2026
Merged

Dont bail in error predicate unless self ty is error in new solver#150453
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
ChayimFriedman2:less-err-in-solver

Conversation

@ChayimFriedman2

@ChayimFriedman2ChayimFriedman2 commented Dec 28, 2025

Copy link
Copy Markdown
Contributor

View all comments

Continuation of #146602.

r? lcnr

@lcnr#146602 (comment)

I think we should move this out of assemble_builtin_impl_candidate to avoid ambiguity between e.g. blanket impls and the builtin impl candidate 🤔

Where do you want to put it?

@rustbotrustbot 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Dec 28, 2025
@ChayimFriedman2ChayimFriedman2 changed the title Dont bail in error predicate unless self ty is errorDont bail in error predicate unless self ty is error in new solverDec 28, 2025
@rust-log-analyzer

This comment has been minimized.

Comment threadcompiler/rustc_next_trait_solver/src/solve/normalizes_to/mod.rs Outdated
@apiraino

Copy link
Copy Markdown
Contributor

I think there's a pending comment, therefore switching to waiting on author. Feel free to request a review with @rustbot ready, thanks!

@rustbot author

@rustbotrustbot 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 Mar 12, 2026
@rustbot

Copy link
Copy Markdown
Collaborator

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rust-bors

This comment has been minimized.

@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@ChayimFriedman2

Copy link
Copy Markdown
ContributorAuthor

@rustbot ready

@rustbotrustbot 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 Apr 15, 2026
@ChayimFriedman2

Copy link
Copy Markdown
ContributorAuthor

Ping @lcnr, do you remember this?

@rust-bors

This comment has been minimized.

@rustbot

This comment has been minimized.

@rust-bors

This comment has been minimized.

@rustbot

This comment has been minimized.

@rustbot

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@ChayimFriedman2

Copy link
Copy Markdown
ContributorAuthor

@bors r=lcnr

@rust-bors

rust-borsBot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 8dd9467 has been approved by lcnr

It is now in the queue for this repository.

@rust-borsrust-borsBot 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 5, 2026
@rust-bors

rust-borsBot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

⌛ Testing commit 8dd9467 with merge 0176f45...

Workflow: https://github.com/rust-lang/rust/actions/runs/26998538227

rust-borsBot pushed a commit that referenced this pull request Jun 5, 2026
Dont bail in error predicate unless self ty is error in new solver
Continuation of #146602.
r? lcnr
@lcnr#146602 (comment)
> I think we should move this out of assemble_builtin_impl_candidate to avoid ambiguity between e.g. blanket impls and the builtin impl candidate 🤔
Where do you want to put it?
jhpratt added a commit to jhpratt/rust that referenced this pull request Jun 5, 2026
…, r=lcnr
Dont bail in error predicate unless self ty is error in new solver
Continuation of rust-lang#146602.
r? lcnr
@lcnrrust-lang#146602 (comment)
> I think we should move this out of assemble_builtin_impl_candidate to avoid ambiguity between e.g. blanket impls and the builtin impl candidate 🤔
Where do you want to put it?
@jhprattjhpratt mentioned this pull request Jun 5, 2026
@jhpratt

Copy link
Copy Markdown
Member

yielding to a rollup that includes this

@bors yield

@rust-bors

rust-borsBot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Auto build was cancelled. Cancelled workflows:

The next pull request likely to be tested is #157464.

rust-borsBot pushed a commit that referenced this pull request Jun 5, 2026
Rollup of 7 pull requests
Successful merges:
- #150453 (Dont bail in error predicate unless self ty is error in new solver)
- #155338 (Staticlib hide internal symbols)
- #156892 (Suppress E0621 perpetual borrow suggestion)
- #157135 (fix armv7a-none-eabihf tier doc)
- #157360 (Document error conditions for `Command::{spawn, output, status}`)
- #157418 (NVPTX: Add @kulst to the target maintainers)
- #157443 (Make distinction between crate-level attributes that are warned vs errored)
@rust-bors

rust-borsBot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

⌛ Testing commit 8dd9467 with merge a84533e...

Workflow: https://github.com/rust-lang/rust/actions/runs/27000626389

rust-borsBot pushed a commit that referenced this pull request Jun 5, 2026
Dont bail in error predicate unless self ty is error in new solver
Continuation of #146602.
r? lcnr
@lcnr#146602 (comment)
> I think we should move this out of assemble_builtin_impl_candidate to avoid ambiguity between e.g. blanket impls and the builtin impl candidate 🤔
Where do you want to put it?
@jhpratt

Copy link
Copy Markdown
Member

retrying the spurious rollup failure

@bors yield

@rust-bors

rust-borsBot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Auto build was cancelled. Cancelled workflows:

The next pull request likely to be tested is #157464.

rust-borsBot pushed a commit that referenced this pull request Jun 5, 2026
Rollup of 7 pull requests
Successful merges:
- #150453 (Dont bail in error predicate unless self ty is error in new solver)
- #155338 (Staticlib hide internal symbols)
- #156892 (Suppress E0621 perpetual borrow suggestion)
- #157135 (fix armv7a-none-eabihf tier doc)
- #157360 (Document error conditions for `Command::{spawn, output, status}`)
- #157418 (NVPTX: Add @kulst to the target maintainers)
- #157443 (Make distinction between crate-level attributes that are warned vs errored)
@rust-bors

rust-borsBot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

⌛ Testing commit 8dd9467 with merge 5435b5c...

Workflow: https://github.com/rust-lang/rust/actions/runs/27005603878

rust-borsBot pushed a commit that referenced this pull request Jun 5, 2026
Dont bail in error predicate unless self ty is error in new solver
Continuation of #146602.
r? lcnr
@lcnr#146602 (comment)
> I think we should move this out of assemble_builtin_impl_candidate to avoid ambiguity between e.g. blanket impls and the builtin impl candidate 🤔
Where do you want to put it?
@JonathanBrouwer

Copy link
Copy Markdown
Member

@bors yield
Yielding to enclosing rollup

@rust-bors

rust-borsBot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Auto build was cancelled. Cancelled workflows:

The next pull request likely to be tested is #157473.

rust-borsBot pushed a commit that referenced this pull request Jun 5, 2026
…uwer
Rollup of 7 pull requests
Successful merges:
- #150453 (Dont bail in error predicate unless self ty is error in new solver)
- #157442 (Create non-exhaustive `proc_macro::EscapeError` enum mirrorring `rustc-literal-escaper`'s)
- #156892 (Suppress E0621 perpetual borrow suggestion)
- #157135 (fix armv7a-none-eabihf tier doc)
- #157360 (Document error conditions for `Command::{spawn, output, status}`)
- #157418 (NVPTX: Add @kulst to the target maintainers)
- #157443 (Make distinction between crate-level attributes that are warned vs errored)
@rust-bors
rust-borsBot merged commit 7027a4a into rust-lang:mainJun 5, 2026
12 of 13 checks passed
@rustbotrustbot added this to the 1.98.0 milestone Jun 5, 2026
rust-timer added a commit that referenced this pull request Jun 5, 2026
Rollup merge of #150453 - ChayimFriedman2:less-err-in-solver, r=lcnr
Dont bail in error predicate unless self ty is error in new solver
Continuation of #146602.
r? lcnr
@lcnr#146602 (comment)
> I think we should move this out of assemble_builtin_impl_candidate to avoid ambiguity between e.g. blanket impls and the builtin impl candidate 🤔
Where do you want to put it?
@ChayimFriedman2
ChayimFriedman2 deleted the less-err-in-solver branch June 5, 2026 12:46
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.WG-trait-system-refactorThe Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@ChayimFriedman2@rust-log-analyzer@apiraino@rustbot@lcnr@jhpratt@JonathanBrouwer@compiler-errors