about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-01-17 10:39:24 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2019-01-17 12:13:22 +1100
commitafbd004d696063adf1301ae461c41565f2f1921a (patch)
treed7665dd808adc79b361516e104e76eb2b70f6e51 /src/test/debuginfo/enum-thinlto.rs
parentb2ce5a90995be655b1a1e8fd764e2b1c1f0dab14 (diff)
downloadrust-afbd004d696063adf1301ae461c41565f2f1921a.tar.gz
rust-afbd004d696063adf1301ae461c41565f2f1921a.zip
Remove `hir::StmtKind::Decl`.
It's a level of indirection that hurts far more than it helps. The code
is simpler without it. (This commit cuts more than 120 lines of code.)

In particular, this commit removes some unnecessary `Span`s within
`DeclKind` that were always identical to those in the enclosing `Stmt`,
and some unnecessary allocations via `P`.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions