Rollup merge of #79005 - petrochenkov:noinjected, r=davidtwco
cleanup: Remove `ParseSess::injected_crate_name` Its only remaining use is in pretty-printing where the necessary information can be easily re-computed.
This commit is contained in:
commit
f32191f78f
5 changed files with 7 additions and 16 deletions
|
@ -404,7 +404,6 @@ pub fn print_after_parsing(
|
|||
annotation.pp_ann(),
|
||||
false,
|
||||
parse.edition,
|
||||
parse.injected_crate_name.get().is_some(),
|
||||
)
|
||||
})
|
||||
} else {
|
||||
|
@ -446,7 +445,6 @@ pub fn print_after_hir_lowering<'tcx>(
|
|||
annotation.pp_ann(),
|
||||
true,
|
||||
parse.edition,
|
||||
parse.injected_crate_name.get().is_some(),
|
||||
)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue