about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-05-01 20:39:33 -0700
committerbors <bors@rust-lang.org>2016-05-01 20:39:33 -0700
commit700d3e23748c10c4203491856186333dd2952ebf (patch)
treed5aadc6d3c0529e01467131b60dcc48ca58c732e /src/rustllvm/RustWrapper.cpp
parent855fb6192263a5c059325bb4b4e10b55e4e8ddbb (diff)
parenta70e42a953d71e356e170de8b6bd525d4a32dc4d (diff)
downloadrust-700d3e23748c10c4203491856186333dd2952ebf.tar.gz
rust-700d3e23748c10c4203491856186333dd2952ebf.zip
Auto merge of #33190 - jseyfried:improve_diagnostics, r=nrc
resolve: improve diagnostics and lay groundwork for resolving before ast->hir

This PR improves diagnostics in `resolve` and lays some groundwork for resolving before ast->hir.

More specifically,
 - It removes an API in `resolve` intended for external refactoring tools (see #27493) that appears not to be in active use. The API is incompatible with resolving before ast->hir, but could be rewritten in a more compatible and less intrusive way.
 - It improves the diagnostics for pattern bindings that conflict with `const`s.
 - It improves the diagnostics for modules used as expressions (fixes #33186).
 - It refactors away some uses of the hir map, which is unavavailable before ast->hir lowering.

r? @eddyb
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions