There are various fields in the tcx of data that is not tracked for incremental compilation, or is tracked in an odd way. Here is a partial list:
In each case, the idea would be to (at least to start) encapsulate the fields so that we are using queries to access those maps. I'll try to write up some mentoring instructions for each one later on.
cc @michaelwoerister
There are various fields in the tcx of data that is not tracked for incremental compilation, or is tracked in an odd way. Here is a
partiallist:trait_mapof TyCtxt private #44162trait_mapof TyCtxt private #44162specialization_cachein favor of a query #44157used_unsafefield on TyCtxt #44195In each case, the idea would be to (at least to start) encapsulate the fields so that we are using queries to access those maps. I'll try to write up some mentoring instructions for each one later on.
cc @michaelwoerister