Uh oh!
There was an error while loading. Please reload this page.
Refactor librustc_errors::Handler API - #64272
Conversation
Mark-Simulacrum
commented
Sep 7, 2019
cc @aturon as part of parallel rustc efforts |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
52b3d1f to
0b94900Compare
This comment has been minimized.
This comment has been minimized.
0b94900 to
33aaa1fCompare
This comment has been minimized.
This comment has been minimized.
33aaa1f to
66cc1e3CompareMark-Simulacrum
commented
Sep 10, 2019
CI is green here and this is good to go for review |
bors
commented
Sep 14, 2019
☔ The latest upstream changes (presumably #64456) made this pull request unmergeable. Please resolve the merge conflicts. |
66cc1e3 to
8f210f3CompareMark-Simulacrum
commented
Sep 14, 2019
Rebased. |
bors
commented
Sep 15, 2019
☔ The latest upstream changes (presumably #60584) made this pull request unmergeable. Please resolve the merge conflicts. |
8f210f3 to
434e67bCompareMark-Simulacrum
commented
Sep 15, 2019
Rebased, again. |
5802065 to
71f9addCompare
This comment has been minimized.
This comment has been minimized.
This avoids concurrency-related bugs when locks are acquired for too short a time and similar cases.
71f9add to
4cc5aaaCompareestebank
commented
Sep 18, 2019
Sorry for the radio silence, I'll review this tomorrow. |
estebank
commented
Sep 22, 2019
Thanks for the clean commit history. It all makes sense, but making it stand alone merge to minimize the chance for conflicts. @bors r+ rollup=never |
bors
commented
Sep 22, 2019
📌 Commit 4cc5aaa has been approved by |
bors
commented
Sep 23, 2019
Refactor librustc_errors::Handler API This should be reviewed by-commit. The last commit moves all fields into an inner struct behind a single lock; this is done to prevent possible deadlocks in a multi-threaded compiler, as well as inconsistent state observation.
bors
commented
Sep 23, 2019
☀️ Test successful - checks-azure |
rust-lang#64272 replaced `DiagnosticBuilder` with `Diagnostic` in some places. This commit just renames the DB variable from `db` to `diag` where it wasn't renamed.
Refactor: Rename `db` locals to `diag` rust-lang#64272 replaced `DiagnosticBuilder` with `Diagnostic` in some places. This PR just renames the db variable from `db` to `diag` where it wasn't renamed. r? @Mark-Simulacrum
Refactor: Rename `db` locals to `diag` rust-lang#64272 replaced `DiagnosticBuilder` with `Diagnostic` in some places. This PR just renames the db variable from `db` to `diag` where it wasn't renamed. r? @Mark-Simulacrum
This should be reviewed by-commit.
The last commit moves all fields into an inner struct behind a single lock; this is done to prevent possible deadlocks in a multi-threaded compiler, as well as inconsistent state observation.