diff options
| author | bors <bors@rust-lang.org> | 2025-02-04 20:55:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-02-04 20:55:34 +0000 |
| commit | bef3c3b01f690de16738b1c9f36470fbfc6ac623 (patch) | |
| tree | 073bb56a9ad0479025e46d78b033b3be3edfbf11 /compiler/rustc_driver_impl/src | |
| parent | 3f33b30e19b7597a3acbca19e46d9e308865a0fe (diff) | |
| parent | 1b7efa285da784e37f8defa557cad26d2fe464dc (diff) | |
| download | rust-bef3c3b01f690de16738b1c9f36470fbfc6ac623.tar.gz rust-bef3c3b01f690de16738b1c9f36470fbfc6ac623.zip | |
Auto merge of #136549 - matthiaskrgr:rollup-sqbpgtd, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #136242 (Remove `LateContext::match_def_path()`) - #136274 (Check Sizedness of return type in WF) - #136284 (Allow using named consts in pattern types) - #136477 (Fix a couple NLL TLS spans ) - #136497 (Report generic mismatches when calling bodyless trait functions) - #136520 (Remove unnecessary layout assertions for object-safe receivers) - #136526 (mir_build: Rename `thir::cx::Cx` to `ThirBuildCx` and remove `UserAnnotatedTyHelpers`) Failed merges: - #136304 (Reject negative literals for unsigned or char types in pattern ranges and literals) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/pretty.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_driver_impl/src/pretty.rs b/compiler/rustc_driver_impl/src/pretty.rs index 9ace486fa56..576b1c76823 100644 --- a/compiler/rustc_driver_impl/src/pretty.rs +++ b/compiler/rustc_driver_impl/src/pretty.rs @@ -101,6 +101,10 @@ impl<'tcx> pprust_hir::PpAnn for HirIdentifiedAnn<'tcx> { s.s.space(); s.synth_comment(format!("pat hir_id: {}", pat.hir_id)); } + pprust_hir::AnnNode::TyPat(pat) => { + s.s.space(); + s.synth_comment(format!("ty pat hir_id: {}", pat.hir_id)); + } pprust_hir::AnnNode::Arm(arm) => { s.s.space(); s.synth_comment(format!("arm hir_id: {}", arm.hir_id)); |
