Skip to content

Migrate codegen_ssa to diagnostics structs - [Part 2] - #103792

Merged
bors merged 5 commits into
rust-lang:masterfrom
JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt2
Nov 4, 2022
Merged

bors merged 5 commits into
rust-lang:masterfrom
JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt2

Conversation

@JhonnyBillM

Copy link
Copy Markdown
Contributor

Completes migrating link.rs in codegen_ssa module.

Part 1 - #102612

r? @davidtwco

@rustbot rustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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 Oct 31, 2022
@rustbot

rustbot commented Oct 31, 2022

Copy link
Copy Markdown
Collaborator

rustc_error_messages was changed

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

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

This looks really good, left a few minor comments.

Comment thread compiler/rustc_codegen_ssa/src/back/archive.rs Outdated
Comment thread compiler/rustc_codegen_ssa/src/errors.rs Outdated
Comment thread compiler/rustc_codegen_ssa/src/errors.rs Outdated
Comment thread compiler/rustc_codegen_ssa/src/back/link.rs Outdated
@JhonnyBillM
JhonnyBillM requested a review from davidtwco November 3, 2022 06:24
@JhonnyBillM
JhonnyBillM force-pushed the migrate-codegen-ssa-to-diagnostics-structs-pt2 branch from ca58454 to d43977c Compare November 4, 2022 05:16
FIX - StrippingDebugInfoFailed typo

DELETE - unneeded FIXME comment

UPDATE - only declare the error with ExtractBundledLibsError as an enum and use the Diagnostic derive macro
@JhonnyBillM
JhonnyBillM force-pushed the migrate-codegen-ssa-to-diagnostics-structs-pt2 branch from d43977c to 540c3f9 Compare November 4, 2022 05:17
@davidtwco

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Nov 4, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 540c3f9 has been approved by davidtwco

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 Nov 4, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 4, 2022
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#103367 (Remove std's transitive dependency on cfg-if 0.1)
 - rust-lang#103397 (Port `dead_code` lints to be translatable.)
 - rust-lang#103681 (libtest: run all tests in their own thread, if supported by the host)
 - rust-lang#103792 (Migrate `codegen_ssa` to diagnostics structs - [Part 2])
 - rust-lang#103897 (asm: Work around LLVM bug on AArch64)
 - rust-lang#103937 (minor changes to make method lookup diagnostic code easier to read)
 - rust-lang#103958 (Test tidy should not count untracked paths towards entries limit)
 - rust-lang#103964 (Give a specific lint for unsafety not being inherited)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 1cb8684 into rust-lang:master Nov 4, 2022
@rustbot rustbot added this to the 1.67.0 milestone Nov 4, 2022
@JhonnyBillM
JhonnyBillM deleted the migrate-codegen-ssa-to-diagnostics-structs-pt2 branch November 4, 2022 23:06
@davidtwco davidtwco mentioned this pull request Nov 8, 2022
54 of 84 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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.

4 participants