Camille GILLOT
fa6f5adf73
Gather module items after lowering.
2021-09-12 16:33:16 +02:00
Camille GILLOT
b19ae20aad
Track span dependency using a callback.
2021-09-10 20:18:18 +02:00
Camille GILLOT
635978041d
Compute all_traits_impls during resolution.
2021-09-01 20:13:16 +02:00
Camille GILLOT
b88083a58c
Use OwnerNode in indexing.
2021-07-25 12:23:36 +02:00
Camille GILLOT
071a047dc7
Make resolutions a query.
2021-07-06 19:22:27 +02:00
Camille GILLOT
507a1fdf13
Always go through the expn_that_defined query.
2021-06-04 21:37:34 +02:00
Camille GILLOT
4f8e34cbf8
Merge fields and comment.
2021-05-28 21:14:11 +02:00
Camille GILLOT
601453a2ac
Use () for HIR queries.
2021-05-12 13:58:42 +02:00
Camille GILLOT
d794cb0d4f
Introduce a hir_owner_parent query.
2021-04-29 21:36:56 +02:00
Camille GILLOT
18bffdb10e
Move parenting info to index_hir.
2021-04-29 21:36:55 +02:00
Camille GILLOT
99d3798b6c
Do not compute entry parent when not required.
2021-04-29 21:36:55 +02:00
Camille GILLOT
323f5b2ac9
Split crate_hash from index_hir.
2021-04-29 21:36:48 +02:00
Camille GILLOT
38d9d09a58
Use BTreeMap to store attributes.
2021-03-09 19:28:01 +01:00
Camille GILLOT
1fb257b3b4
Collect attributes during HIR lowering.
2021-03-09 18:51:37 +01:00
Camille GILLOT
ff14cac621
Index Modules using their LocalDefId.
2021-02-15 19:32:30 +01:00
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
Camille GILLOT
a185cdbc59
Iterate to encode def_kind.
2021-01-23 13:51:00 +01:00
Camille GILLOT
064a351953
Infallible version of def_span.
2021-01-23 13:35:22 +01:00
Aaron Hill
7afb32557d
Enforce that query results implement Debug
2021-01-16 17:53:02 -05:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00