Skip to content

Conversation

compiler-errors
Copy link
Member

I've been auditing the calls to resolve_vars_with_obligations for the new solver, and have found a few that have no effect on diagnostics. Let's just remove 'em.

Also remove a redundant resolve_vars_with_obligations_and_mutate_fulfillment call.

r? @lcnr

@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 Aug 10, 2023
@compiler-errors compiler-errors added the C-cleanup Category: PRs that clean code up or issues documenting cleanup. label Aug 10, 2023
@lcnr lcnr added the WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) label Aug 10, 2023
@lcnr
Copy link
Contributor

lcnr commented Aug 10, 2023

@bors r+ rollup (only affects diagnostics)

@bors
Copy link
Collaborator

bors commented Aug 10, 2023

📌 Commit 6f8bb9d has been approved by lcnr

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 Aug 10, 2023
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Aug 10, 2023
…, r=lcnr

Remove redundant calls to `resolve_vars_with_obligations`

I've been auditing the calls to `resolve_vars_with_obligations` for the new solver, and have found a few that have no effect on diagnostics. Let's just remove 'em.

Also remove a redundant `resolve_vars_with_obligations_and_mutate_fulfillment` call.

r? `@lcnr`
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 10, 2023
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#114278 (better error handling for `rust.codegen-backends` on deserialization)
 - rust-lang#114674 (Add clubby789 to `users_on_vacation`)
 - rust-lang#114678 (`Expr::can_have_side_effects()` is incorrect for struct/enum/array/tuple literals)
 - rust-lang#114681 (doc (unstable-book): fix a typo)
 - rust-lang#114684 (Remove redundant calls to `resolve_vars_with_obligations`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 5f0d585 into rust-lang:master Aug 10, 2023
@rustbot rustbot added this to the 1.73.0 milestone Aug 10, 2023
@compiler-errors compiler-errors deleted the redundant-resolves branch August 11, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants