about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-06-19 08:45:00 +0000
committerbors <bors@rust-lang.org>2017-06-19 08:45:00 +0000
commit5ce5126199d0edf278ef0d9bb60534770d96f3f6 (patch)
tree5120864385a813ca8d605fbeaf3871a33a8d891d /src/libstd/thread
parent8525eb820b2449569a7fa342ffcdd6633d4383bf (diff)
parent8723f287726073b43d3946838d930ce108d52988 (diff)
downloadrust-5ce5126199d0edf278ef0d9bb60534770d96f3f6.tar.gz
rust-5ce5126199d0edf278ef0d9bb60534770d96f3f6.zip
Auto merge of #42737 - fhahn:rust-log-crash, r=michaelwoerister
rustc: Check if def_path_hash_to_def_id is populated before accessing.

Without this patch, there is an ICE when running rustc with
RUST_LOG=debug. This patch updates extract_def_id to check if the map
has been populated before accessing it. This fixes the problem, but
maybe we do not need to compute the incremental hashes maps in the first
place when we are not in incremental mode?
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions