about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-05-29 21:28:50 -0700
committerbors <bors@rust-lang.org>2016-05-29 21:28:50 -0700
commitbf9c60c9a6d27762594c1c5c067194f4c9109f67 (patch)
tree70418c04e1f34cf63161a9d3bc680d19d3b6a2a5 /src/test/incremental/thinlto
parent6e00b55568c23e6270ae193a72256cc1c7c5f23a (diff)
parentae999e9c8f063eb62c867eafdd86729acd798044 (diff)
downloadrust-bf9c60c9a6d27762594c1c5c067194f4c9109f67.tar.gz
rust-bf9c60c9a6d27762594c1c5c067194f4c9109f67.zip
Auto merge of #33929 - petrochenkov:pathir, r=eddyb
Separate bindings from other patterns in HIR

Now when name resolution is done on AST, we can avoid dumping everything that looks like an identifier into `PatKind::Ident` in HIR.
`hir::PatKind::Ident` is removed, fresh bindings are now called `hir::PatKind::Binding`, everything else goes to `hir::PatKind::Path`.

I intend to do something with `PatKind::Path`/`PatKind::QPath` as well using resolution results, but it requires some audit and maybe some deeper refactoring of relevant resolution/type checking code to do it properly.
I'm submitting this part of the patch earlier to notify interested parties that I'm working on this.

cc @jseyfried
r? @eddyb
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions