rust/src/librustc_passes
Nicholas Nethercote afbd004d69 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`.
2019-01-17 12:13:22 +11:00
..
ast_validation.rs Consolidate equality constraints error message 2019-01-08 23:53:43 +00:00
Cargo.toml Removed unused dependencies on rustc_const_math 2018-04-30 18:18:33 +02:00
diagnostics.rs Remove licenses 2018-12-25 21:08:33 -07:00
hir_stats.rs Remove hir::StmtKind::Decl. 2019-01-17 12:13:22 +11:00
lib.rs Make more passes incremental 2019-01-11 03:53:29 +01:00
loops.rs Address comments 2019-01-11 04:58:46 +01:00
rvalue_promotion.rs Remove hir::StmtKind::Decl. 2019-01-17 12:13:22 +11:00