Skip to content
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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make helper functions private in fn_ctxt/adjust_fulfillment_errors #109550

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

Nathan-Fenner
Copy link
Contributor

Two helper functions in rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs were previously made pub impl members, because they were also used in rustc_hir_typeck/src/fn_ctxt/check.rs (see #107746).

However, that's no longer the case, so the FIXME suggesting they be made private can now be implemented.

@rustbot
Copy link
Collaborator

rustbot commented Mar 24, 2023

r? @davidtwco

(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 Mar 24, 2023
@compiler-errors
Copy link
Member

r? @compiler-errors @bors r+ rollup

@bors
Copy link
Contributor

bors commented Mar 24, 2023

📌 Commit d4d1cc4 has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 24, 2023
@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Mar 24, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 24, 2023
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#109406 (Remove outdated comments)
 - rust-lang#109433 (Return equal for two identical projections)
 - rust-lang#109495 (Implement non-const `Destruct` trait in new solver)
 - rust-lang#109519 (Link against libc++ on AIX)
 - rust-lang#109550 (Make helper functions private in fn_ctxt/adjust_fulfillment_errors)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 2cfcca6 into rust-lang:master Mar 24, 2023
@rustbot rustbot added this to the 1.70.0 milestone Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.

5 participants