diff options
| author | bors <bors@rust-lang.org> | 2021-01-26 05:47:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-26 05:47:23 +0000 |
| commit | a8f707553276a15565860af3d415aae18428aa96 (patch) | |
| tree | cab6b5b5c79128ae7a396ce82fed0173356d3d66 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | ff6ee2a70218543f410e557f390e246131847572 (diff) | |
| parent | 056fbbf7eee75f503c2a037046101df91a2f7e2f (diff) | |
| download | rust-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
