diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-01-17 10:39:24 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-01-17 12:13:22 +1100 |
| commit | afbd004d696063adf1301ae461c41565f2f1921a (patch) | |
| tree | d7665dd808adc79b361516e104e76eb2b70f6e51 /src/test/ui/thinlto | |
| parent | b2ce5a90995be655b1a1e8fd764e2b1c1f0dab14 (diff) | |
| download | rust-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/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
