1
Fork 0

Port build_reduce_graph

This commit is contained in:
JeanCASPAR 2024-03-24 12:43:53 +00:00 committed by Jean CASPAR
parent 7106800e16
commit e4f4e58dc3
4 changed files with 235 additions and 51 deletions

View file

@ -1005,7 +1005,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
ResolutionError::FailedToResolve { segment: None, label, suggestion, module: None },
),
VisResolutionError::ExpectedFound(span, path_str, res) => {
self.dcx().create_err(errs::ExpectedFound { span, res, path_str })
self.dcx().create_err(errs::ExpectedModuleFound { span, res, path_str })
}
VisResolutionError::Indeterminate(span) => {
self.dcx().create_err(errs::Indeterminate(span))