rust/compiler/rustc_hir/src
bors a8f7075532 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.
2021-01-26 05:47:23 +00:00
..
arena.rs Retain assembly operands span when lowering AST to HIR 2020-12-06 20:48:08 +01:00
def.rs resolve: Reject ambiguity built-in attr vs different built-in attr 2021-01-17 01:48:17 +03:00
definitions.rs Iterate DefId to encode spans. 2021-01-23 13:44:02 +01:00
hir_id.rs Remove unused code from rustc_hir 2020-10-14 04:14:32 +02:00
hir.rs Add loop head span to hir 2021-01-21 21:41:46 -08:00
intravisit.rs Add loop head span to hir 2021-01-21 21:41:46 -08:00
itemlikevisit.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
lang_items.rs Enforce that query results implement Debug 2021-01-16 17:53:02 -05:00
lib.rs Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
pat_util.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
stable_hash_impls.rs Store ForeignItem in a side table. 2020-11-26 21:29:27 +01:00
target.rs passes: prohibit attrs on generic params 2020-11-29 14:05:19 +00:00
weak_lang_items.rs hir: replace lazy_static by SyncLazy from std 2020-09-01 22:06:47 +01:00