Skip to content

Migrate another part of rustc_infer to session diagnostic - #101153

Merged
bors merged 8 commits into
rust-lang:masterfrom
IntQuant:issue-100717-infer-2
Sep 8, 2022
Merged

Migrate another part of rustc_infer to session diagnostic#101153
bors merged 8 commits into
rust-lang:masterfrom
IntQuant:issue-100717-infer-2

Conversation

@IntQuant

Copy link
Copy Markdown
Contributor

Probably will migrate another file before marking this one as ready-to-merge.

@rustbot label +A-translation
r? rust-lang/diagnostics
cc #100717

@rustbotrustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 29, 2022
@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 29, 2022
@davidtwcodavidtwco mentioned this pull request Aug 30, 2022
84 tasks
@IntQuant
IntQuant marked this pull request as ready for review August 30, 2022 16:09
@rustbot

Copy link
Copy Markdown
Collaborator

rustc_error_messages was changed

cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki

@davidtwcodavidtwco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for working on this, I've left an initial batch of comments.

Comment threadcompiler/rustc_infer/src/lib.rs Outdated
Comment threadcompiler/rustc_infer/src/errors/mod.rs
Comment threadcompiler/rustc_infer/src/errors/mod.rs Outdated
Comment threadcompiler/rustc_infer/src/errors/mod.rs Outdated
Comment threadcompiler/rustc_infer/src/errors/mod.rs Outdated
Comment threadcompiler/rustc_infer/src/errors/mod.rs Outdated
Comment threadcompiler/rustc_infer/src/errors/note_and_explain.rs Outdated
Comment threadcompiler/rustc_infer/src/errors/note_and_explain.rs Outdated
Comment threadcompiler/rustc_error_messages/locales/en-US/infer.ftl
@compiler-errors

Copy link
Copy Markdown
Contributor

r? @davidtwco

Comment threadcompiler/rustc_infer/src/errors/mod.rs Outdated
Comment threadcompiler/rustc_infer/src/errors/mod.rs Outdated
@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in need_type_info.rs

cc @lcnr

@rust-log-analyzer

This comment has been minimized.

@davidtwco

Copy link
Copy Markdown
Member

Thanks! This is fantastic.

@bors r+

@bors

bors commented Sep 7, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 3d70be7 has been approved by davidtwco

It is now in the queue for this repository.

@borsbors 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 Sep 7, 2022
@Dylan-DPCDylan-DPC mentioned this pull request Sep 8, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 8, 2022
Rollup of 6 pull requests
Successful merges:
- rust-lang#101153 (Migrate another part of rustc_infer to session diagnostic)
- rust-lang#101399 (Shrink span for bindings with subpatterns.)
- rust-lang#101422 (Hermit: Add File::set_time stub)
- rust-lang#101455 (Avoid UB in the Windows filesystem code in... bootstrap?)
- rust-lang#101498 (rustc: Parameterize `ty::Visibility` over used ID)
- rust-lang#101549 (Use HashStable_Generic in rustc_type_ir)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit e3ea800 into rust-lang:masterSep 8, 2022
@rustbotrustbot added this to the 1.65.0 milestone Sep 8, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-translationArea: Translation infrastructure, and migrating existing diagnostics to SessionDiagnosticS-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@IntQuant@rustbot@compiler-errors@rust-log-analyzer@davidtwco@bors@Manishearth@rust-highfive