1
Fork 0

Use par_body_owners for liveness

This commit is contained in:
Seo Sanghyeon 2022-08-23 20:53:02 +09:00
parent 8818b00b63
commit f280138c7c
8 changed files with 137 additions and 146 deletions

View file

@ -818,8 +818,8 @@ rustc_queries! {
desc { |tcx| "checking privacy in {}", describe_as_module(key, tcx) }
}
query check_mod_liveness(key: LocalDefId) -> () {
desc { |tcx| "checking liveness of variables in {}", describe_as_module(key, tcx) }
query check_liveness(key: DefId) {
desc { |tcx| "checking liveness of variables in {}", tcx.def_path_str(key) }
}
/// Return the live symbols in the crate for dead code check.