about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-05-01 18:28:24 -0700
committerbors <bors@rust-lang.org>2016-05-01 18:28:24 -0700
commit855fb6192263a5c059325bb4b4e10b55e4e8ddbb (patch)
tree47cc5ccdbfa24041b35bd1fc71811a267613c4c0 /src/libsyntax/errors
parentadda14a0339ff47c526d8fb6897d70fbd73a5768 (diff)
parentef69ef81e31b248c0eb5ca6b95ab0f302f49e77c (diff)
downloadrust-855fb6192263a5c059325bb4b4e10b55e4e8ddbb.tar.gz
rust-855fb6192263a5c059325bb4b4e10b55e4e8ddbb.zip
Auto merge of #33296 - jseyfried:non_idempotent_lowering, r=nrc
Remove the requirement that ast->hir lowering be reproducible

This PR changes the ast->hir lowerer to be non-reproducible, and it removes the lowering context's id cache.

If the `hir` of an `ast` node needs to be reproduced, we can use the hir map instead of the lowerer -- for example, `tcx.map.expect_expr(expr.id)` instead of `lower_expr(lcx, expr)`.

r? @nrc
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions