about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-04 06:29:14 +0000
committerbors <bors@rust-lang.org>2017-01-04 06:29:14 +0000
commite06ce71d0bba5a5482b40f413e54a281a345ad0a (patch)
tree9aebe4afd4c27e75c657ca3e297975e4ca4326a3 /src/rustllvm/RustWrapper.cpp
parent01677eeef2d3536b07dced43d062f4e486fe695c (diff)
parent987f52f4f5b66aba70abf63d5ba8dd87c212c10b (diff)
downloadrust-e06ce71d0bba5a5482b40f413e54a281a345ad0a.tar.gz
rust-e06ce71d0bba5a5482b40f413e54a281a345ad0a.zip
Auto merge of #38552 - eddyb:bad-blocks, r=arielb1
Don't leak the compiler's internal representation of scopes in error messages.

Fixes #37884 (actually fixes #27942, which was made worse by #37412) by handling more node types.
Ideally we'd turn the unknown node type situations into ICEs and fix them as they show up in errors.
But we might want to backport this patch so I was less aggressive.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions