diff options
| author | Michael Goulet <michael@errs.io> | 2023-01-02 15:39:17 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-02 15:39:17 -0800 |
| commit | fbffaa91ada6387cdea184dcd1d689762b3e8927 (patch) | |
| tree | 432d143db3380e5afd9407effa2158987b01a6b9 /src | |
| parent | da1ca5df6e0ce759d409ce853d836cb00542c44f (diff) | |
| parent | e1787f557223245375571550000eb6441de17b6e (diff) | |
| download | rust-fbffaa91ada6387cdea184dcd1d689762b3e8927.tar.gz rust-fbffaa91ada6387cdea184dcd1d689762b3e8927.zip | |
Rollup merge of #105558 - Nilstrieb:less-spam-hir-tree, r=cjgillot
Reduce HIR debug output HIR debug output is currently very verbose, especially when used with the alternate (`#`) flag. This commit reduces the amount of noisy newlines by forcing a few small key types to stay on one line, which makes the output easier to read and scroll by. ``` $ rustc +after hello_world.rs -Zunpretty=hir-tree | wc -l 582 $ rustc +before hello_world.rs -Zunpretty=hir-tree | wc -l 932 ```
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/thir-tree.stdout | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/test/ui/thir-tree.stdout b/src/test/ui/thir-tree.stdout index 7fb90581f8a..4b6915f7715 100644 --- a/src/test/ui/thir-tree.stdout +++ b/src/test/ui/thir-tree.stdout @@ -32,12 +32,7 @@ Thir { kind: Scope { region_scope: Node(2), lint_level: Explicit( - HirId { - owner: OwnerId { - def_id: DefId(0:3 ~ thir_tree[8f1d]::main), - }, - local_id: 2, - }, + HirId(DefId(0:3 ~ thir_tree[8f1d]::main).2), ), value: e0, }, |
