Skip to content

Convert to inline diagnostics in rustc_hir_typeck - #152142

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
JonathanBrouwer:convert_hir_typeck
Feb 5, 2026
Merged

Convert to inline diagnostics in rustc_hir_typeck#152142
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
JonathanBrouwer:convert_hir_typeck

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

@rustbotrustbot 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 Feb 4, 2026
@GuillaumeGomez

Copy link
Copy Markdown
Member

Looks good to me, thanks! r=me once CI pass

@JonathanBrouwer

This comment has been minimized.

@rust-bors

This comment has been minimized.

@JonathanBrouwer

Copy link
Copy Markdown
MemberAuthor

@bors r=GuillaumeGomez

@rust-bors

rust-borsBot commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 44a14c1 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@rust-borsrust-borsBot 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 Feb 4, 2026
Zalathar added a commit to Zalathar/rust that referenced this pull request Feb 5, 2026
…, r=GuillaumeGomez
Convert to inline diagnostics in `rustc_hir_typeck`
For rust-lang#151366
r? @GuillaumeGomez
@ZalatharZalathar mentioned this pull request Feb 5, 2026
rust-borsBot pushed a commit that referenced this pull request Feb 5, 2026
Rollup of 15 pull requests
Successful merges:
- #151431 (Add new unstable attribute: `#[export_visibility = ...]`.)
- #146900 (Add avr_target_feature)
- #152033 (Rename trait `DepNodeParams` to `DepNodeKey`)
- #152142 (Convert to inline diagnostics in `rustc_hir_typeck`)
- #152020 (Remove dummy loads on offload codegen)
- #152023 (Some `rustc_query_system` cleanups)
- #152068 (Convert to inline diagnostics in `rustc_resolve`)
- #152081 (Port depgraph testing attributes to parser)
- #152090 (Port reexport_test_harness_main to attr parser)
- #152105 (Convert to inline diagnostics in `rustc_ast_lowering`)
- #152108 (Convert to inline diagnostics in `rustc_expand`)
- #152114 (Convert to inline diagnostics in `rustc_mir_transform`)
- #152115 (Convert to inline diagnostics in `rustc_metadata`)
- #152116 (Remove rustdoc GUI flaky test)
- #152128 (Adopt matches-logical-or-141497.rs to LLVM HEAD)
Failed merges:
- #152070 (Convert to inline diagnostics in `rustc_pattern_analysis`)
- #152106 (Convert to inline diagnostics in `rustc_ast_passes`)
- #152109 (Convert to inline diagnostics in `rustc_errors`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152118 (Convert to inline diagnostics in `rustc_codegen_ssa`)
- #152119 (Convert to inline diagnostics in `rustc_middle`)
- #152126 (Convert to inline diagnostics in `rustc_mir_build`)
- #152131 (Port rustc_no_implicit_bounds attribute to parser.)
Zalathar added a commit to Zalathar/rust that referenced this pull request Feb 5, 2026
…, r=GuillaumeGomez
Convert to inline diagnostics in `rustc_hir_typeck`
For rust-lang#151366
r? @GuillaumeGomez
@ZalatharZalathar mentioned this pull request Feb 5, 2026
Zalathar added a commit to Zalathar/rust that referenced this pull request Feb 5, 2026
…, r=GuillaumeGomez
Convert to inline diagnostics in `rustc_hir_typeck`
For rust-lang#151366
r? @GuillaumeGomez
@ZalatharZalathar mentioned this pull request Feb 5, 2026
rust-borsBot pushed a commit that referenced this pull request Feb 5, 2026
Rollup of 19 pull requests
Successful merges:
- #146900 (Add avr_target_feature)
- #150379 (Return `ExitCode` from `rustc_driver::main` instead of calling `process::exit`)
- #152033 (Rename trait `DepNodeParams` to `DepNodeKey`)
- #152142 (Convert to inline diagnostics in `rustc_hir_typeck`)
- #152145 (Disable flaky test `oneshot::recv_timeout_before_send`)
- #152020 (Remove dummy loads on offload codegen)
- #152023 (Some `rustc_query_system` cleanups)
- #152068 (Convert to inline diagnostics in `rustc_resolve`)
- #152081 (Port depgraph testing attributes to parser)
- #152090 (Port reexport_test_harness_main to attr parser)
- #152105 (Convert to inline diagnostics in `rustc_ast_lowering`)
- #152108 (Convert to inline diagnostics in `rustc_expand`)
- #152110 (Fix incorrect RSS on systems with non-4K page size)
- #152111 (bootstrap: exclude hexagon-unknown-qurt from llvm-libunwind default)
- #152114 (Convert to inline diagnostics in `rustc_mir_transform`)
- #152115 (Convert to inline diagnostics in `rustc_metadata`)
- #152116 (Remove rustdoc GUI flaky test)
- #152118 (Convert to inline diagnostics in `rustc_codegen_ssa`)
- #152128 (Adopt matches-logical-or-141497.rs to LLVM HEAD)
Failed merges:
- #152070 (Convert to inline diagnostics in `rustc_pattern_analysis`)
- #152106 (Convert to inline diagnostics in `rustc_ast_passes`)
- #152109 (Convert to inline diagnostics in `rustc_errors`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152119 (Convert to inline diagnostics in `rustc_middle`)
- #152126 (Convert to inline diagnostics in `rustc_mir_build`)
- #152131 (Port rustc_no_implicit_bounds attribute to parser.)
rust-borsBot pushed a commit that referenced this pull request Feb 5, 2026
…uwer
Rollup of 18 pull requests
Successful merges:
- #150379 (Return `ExitCode` from `rustc_driver::main` instead of calling `process::exit`)
- #152033 (Rename trait `DepNodeParams` to `DepNodeKey`)
- #152142 (Convert to inline diagnostics in `rustc_hir_typeck`)
- #152145 (Disable flaky test `oneshot::recv_timeout_before_send`)
- #152020 (Remove dummy loads on offload codegen)
- #152023 (Some `rustc_query_system` cleanups)
- #152068 (Convert to inline diagnostics in `rustc_resolve`)
- #152081 (Port depgraph testing attributes to parser)
- #152090 (Port reexport_test_harness_main to attr parser)
- #152105 (Convert to inline diagnostics in `rustc_ast_lowering`)
- #152108 (Convert to inline diagnostics in `rustc_expand`)
- #152110 (Fix incorrect RSS on systems with non-4K page size)
- #152111 (bootstrap: exclude hexagon-unknown-qurt from llvm-libunwind default)
- #152114 (Convert to inline diagnostics in `rustc_mir_transform`)
- #152115 (Convert to inline diagnostics in `rustc_metadata`)
- #152116 (Remove rustdoc GUI flaky test)
- #152118 (Convert to inline diagnostics in `rustc_codegen_ssa`)
- #152128 (Adopt matches-logical-or-141497.rs to LLVM HEAD)
Failed merges:
- #152070 (Convert to inline diagnostics in `rustc_pattern_analysis`)
- #152106 (Convert to inline diagnostics in `rustc_ast_passes`)
- #152109 (Convert to inline diagnostics in `rustc_errors`)
- #152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- #152119 (Convert to inline diagnostics in `rustc_middle`)
- #152126 (Convert to inline diagnostics in `rustc_mir_build`)
- #152131 (Port rustc_no_implicit_bounds attribute to parser.)
@rust-bors
rust-borsBot merged commit 775ae61 into rust-lang:mainFeb 5, 2026
11 checks passed
@rustbotrustbot added this to the 1.95.0 milestone Feb 5, 2026
rust-timer added a commit that referenced this pull request Feb 5, 2026
Rollup merge of #152142 - JonathanBrouwer:convert_hir_typeck, r=GuillaumeGomez
Convert to inline diagnostics in `rustc_hir_typeck`
For #151366
r? @GuillaumeGomez
@JonathanBrouwer

Copy link
Copy Markdown
MemberAuthor

@rust-timer build f767a88

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (f767a88): comparison URL.

Overall result: ✅ improvements - no action needed

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

@bors rollup=never
@rustbot label: -S-waiting-on-perf -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
0.2%[0.2%, 0.2%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
-0.5%[-1.1%, -0.2%]12
All ❌✅ (primary)--0

Max RSS (memory usage)

Results (primary -1.0%, secondary -1.1%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-1.0%[-1.0%, -1.0%]1
Improvements ✅
(secondary)
-1.1%[-1.1%, -1.1%]1
All ❌✅ (primary)-1.0%[-1.0%, -1.0%]1

Cycles

Results (secondary 3.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
3.6%[3.6%, 3.6%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 474.797s -> 476.586s (0.38%)
Artifact size: 397.94 MiB -> 397.91 MiB (-0.01%)

github-actionsBot pushed a commit to rust-lang/miri that referenced this pull request Feb 6, 2026
…uwer
Rollup of 18 pull requests
Successful merges:
- rust-lang/rust#150379 (Return `ExitCode` from `rustc_driver::main` instead of calling `process::exit`)
- rust-lang/rust#152033 (Rename trait `DepNodeParams` to `DepNodeKey`)
- rust-lang/rust#152142 (Convert to inline diagnostics in `rustc_hir_typeck`)
- rust-lang/rust#152145 (Disable flaky test `oneshot::recv_timeout_before_send`)
- rust-lang/rust#152020 (Remove dummy loads on offload codegen)
- rust-lang/rust#152023 (Some `rustc_query_system` cleanups)
- rust-lang/rust#152068 (Convert to inline diagnostics in `rustc_resolve`)
- rust-lang/rust#152081 (Port depgraph testing attributes to parser)
- rust-lang/rust#152090 (Port reexport_test_harness_main to attr parser)
- rust-lang/rust#152105 (Convert to inline diagnostics in `rustc_ast_lowering`)
- rust-lang/rust#152108 (Convert to inline diagnostics in `rustc_expand`)
- rust-lang/rust#152110 (Fix incorrect RSS on systems with non-4K page size)
- rust-lang/rust#152111 (bootstrap: exclude hexagon-unknown-qurt from llvm-libunwind default)
- rust-lang/rust#152114 (Convert to inline diagnostics in `rustc_mir_transform`)
- rust-lang/rust#152115 (Convert to inline diagnostics in `rustc_metadata`)
- rust-lang/rust#152116 (Remove rustdoc GUI flaky test)
- rust-lang/rust#152118 (Convert to inline diagnostics in `rustc_codegen_ssa`)
- rust-lang/rust#152128 (Adopt matches-logical-or-141497.rs to LLVM HEAD)
Failed merges:
- rust-lang/rust#152070 (Convert to inline diagnostics in `rustc_pattern_analysis`)
- rust-lang/rust#152106 (Convert to inline diagnostics in `rustc_ast_passes`)
- rust-lang/rust#152109 (Convert to inline diagnostics in `rustc_errors`)
- rust-lang/rust#152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- rust-lang/rust#152119 (Convert to inline diagnostics in `rustc_middle`)
- rust-lang/rust#152126 (Convert to inline diagnostics in `rustc_mir_build`)
- rust-lang/rust#152131 (Port rustc_no_implicit_bounds attribute to parser.)
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Aug 17, 2026
…uwer
Rollup of 18 pull requests
Successful merges:
- rust-lang/rust#150379 (Return `ExitCode` from `rustc_driver::main` instead of calling `process::exit`)
- rust-lang/rust#152033 (Rename trait `DepNodeParams` to `DepNodeKey`)
- rust-lang/rust#152142 (Convert to inline diagnostics in `rustc_hir_typeck`)
- rust-lang/rust#152145 (Disable flaky test `oneshot::recv_timeout_before_send`)
- rust-lang/rust#152020 (Remove dummy loads on offload codegen)
- rust-lang/rust#152023 (Some `rustc_query_system` cleanups)
- rust-lang/rust#152068 (Convert to inline diagnostics in `rustc_resolve`)
- rust-lang/rust#152081 (Port depgraph testing attributes to parser)
- rust-lang/rust#152090 (Port reexport_test_harness_main to attr parser)
- rust-lang/rust#152105 (Convert to inline diagnostics in `rustc_ast_lowering`)
- rust-lang/rust#152108 (Convert to inline diagnostics in `rustc_expand`)
- rust-lang/rust#152110 (Fix incorrect RSS on systems with non-4K page size)
- rust-lang/rust#152111 (bootstrap: exclude hexagon-unknown-qurt from llvm-libunwind default)
- rust-lang/rust#152114 (Convert to inline diagnostics in `rustc_mir_transform`)
- rust-lang/rust#152115 (Convert to inline diagnostics in `rustc_metadata`)
- rust-lang/rust#152116 (Remove rustdoc GUI flaky test)
- rust-lang/rust#152118 (Convert to inline diagnostics in `rustc_codegen_ssa`)
- rust-lang/rust#152128 (Adopt matches-logical-or-141497.rs to LLVM HEAD)
Failed merges:
- rust-lang/rust#152070 (Convert to inline diagnostics in `rustc_pattern_analysis`)
- rust-lang/rust#152106 (Convert to inline diagnostics in `rustc_ast_passes`)
- rust-lang/rust#152109 (Convert to inline diagnostics in `rustc_errors`)
- rust-lang/rust#152117 (Convert to inline diagnostics in `rustc_trait_selection`)
- rust-lang/rust#152119 (Convert to inline diagnostics in `rustc_middle`)
- rust-lang/rust#152126 (Convert to inline diagnostics in `rustc_mir_build`)
- rust-lang/rust#152131 (Port rustc_no_implicit_bounds attribute to parser.)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-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.

4 participants

@JonathanBrouwer@GuillaumeGomez@rust-timer@rustbot