rustc: hir().local_def_id_to_hir_id() -> tcx.local_def_id_to_hir_id() cleanup
This commit is contained in:
@@ -356,7 +356,7 @@ pub fn late_lint_mod<'tcx, T: LateLintPass<'tcx> + 'tcx>(
|
||||
cached_typeck_results: Cell::new(None),
|
||||
param_env: ty::ParamEnv::empty(),
|
||||
effective_visibilities: tcx.effective_visibilities(()),
|
||||
last_node_with_lint_attrs: tcx.hir().local_def_id_to_hir_id(module_def_id),
|
||||
last_node_with_lint_attrs: tcx.local_def_id_to_hir_id(module_def_id.into()),
|
||||
generics: None,
|
||||
only_module: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user