Refactor away ExternalExports
This commit is contained in:
parent
cbae67aea7
commit
2998564615
4 changed files with 3 additions and 31 deletions
|
|
@ -761,7 +761,6 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
|
|||
freevars,
|
||||
export_map,
|
||||
trait_map,
|
||||
external_exports,
|
||||
glob_map,
|
||||
} = time(time_passes,
|
||||
"resolution",
|
||||
|
|
@ -822,9 +821,7 @@ pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session,
|
|||
|
||||
analysis.access_levels =
|
||||
time(time_passes, "privacy checking", || {
|
||||
rustc_privacy::check_crate(tcx,
|
||||
&analysis.export_map,
|
||||
external_exports)
|
||||
rustc_privacy::check_crate(tcx, &analysis.export_map)
|
||||
});
|
||||
|
||||
// Do not move this check past lint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue