about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-26 05:47:23 +0000
committerbors <bors@rust-lang.org>2021-01-26 05:47:23 +0000
commita8f707553276a15565860af3d415aae18428aa96 (patch)
treecab6b5b5c79128ae7a396ce82fed0173356d3d66 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentff6ee2a70218543f410e557f390e246131847572 (diff)
parent056fbbf7eee75f503c2a037046101df91a2f7e2f (diff)
downloadrust-a8f707553276a15565860af3d415aae18428aa96.tar.gz
rust-a8f707553276a15565860af3d415aae18428aa96.zip
Auto merge of #80692 - Aaron1011:feature/query-result-debug, r=estebank
Enforce that query results implement Debug

Currently, we require that query keys implement `Debug`, but we do not do the same for query values. This can make incremental compilation bugs difficult to debug - there isn't a good place to print out the result loaded from disk.

This PR adds `Debug` bounds to several query-related functions, allowing us to debug-print the query value when an 'unstable fingerprint' error occurs. This required adding `#[derive(Debug)]` to a fairly large number of types - hopefully, this doesn't have much of an impact on compiler bootstrapping times.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions