rust/compiler/rustc_interface/src
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
..
callbacks.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
interface.rs Limit scope of the hint about escaping. 2022-01-16 11:43:16 -05:00
lib.rs add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
passes.rs Make dead code check a query. 2022-02-01 13:11:03 +01:00
proc_macro_decls.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
queries.rs Use OutputFilenames to generate output file for -Zllvm-time-trace 2021-12-13 00:00:00 +00:00
tests.rs Rollup merge of #91606 - joshtriplett:stabilize-print-link-args, r=pnkfelix 2022-01-20 17:10:32 +01:00
util.rs Use let_else in even more places 2022-01-18 21:37:57 +01:00