1
Fork 0
This commit is contained in:
Takayuki Maeda 2022-10-12 19:03:46 +09:00
parent 7e8d64e792
commit b11dddd1c1
3 changed files with 34 additions and 1 deletions

View file

@ -1969,7 +1969,7 @@ impl<'a: 'ast, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
None
}
})
.map(|res| res.expect_full_res())
.and_then(|res| res.full_res())
.filter(|res| {
// Permit the types that unambiguously always
// result in the same type constructor being used