Commit 2a372a3
committed
syntax: tweak Debug impl for Hir
The default derive(Debug) impl for Hir is very noisy because it lists
out the properties for every Hir value. We change the default to just
print out the actual expressions and omit the properties. But one can
opt back into seeing the properties via the "alternate" impl. i.e.,
{:#?} instead of {:?}.1 parent 8f09510 commit 2a372a3
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
161 | 168 | | |
162 | 169 | | |
163 | 170 | | |
| |||
413 | 420 | | |
414 | 421 | | |
415 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
416 | 436 | | |
417 | 437 | | |
418 | 438 | | |
| |||
0 commit comments