Create some minimal HIR for associated opaque types

This commit is contained in:
Vadim Petrochenkov
2024-02-11 19:08:30 +03:00
parent 9ce37dc729
commit b6312eb943
16 changed files with 67 additions and 29 deletions

View File

@@ -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.local_def_id_to_hir_id(module_def_id.into()),
last_node_with_lint_attrs: tcx.local_def_id_to_hir_id(module_def_id),
generics: None,
only_module: true,
};