bors d5f9c40e6a Auto merge of #93466 - cjgillot:query-dead, r=nagisa
Make dead code check a query.

Dead code check is run for each invocation of the compiler, even if no modifications were involved.
This PR makes dead code check a query keyed on the module. This allows to skip the check when a module has not changed.
To perform this, a query `live_symbols_and_ignored_derived_traits` is introduced to encapsulate the global analysis of finding live symbols. The second query `check_mod_deathness` outputs diagnostics for each module based on this first query's results.
2022-02-02 02:29:32 +00:00
..
2022-02-01 10:29:36 +01:00
2022-02-01 13:11:03 +01:00
2022-01-15 21:26:25 +01:00
2022-01-09 13:41:04 -08:00
2022-01-18 14:25:26 -08:00