could type inference fill in the _
in expr as Box<_>
when expecting Box<Trait>
?
#22221
Labels
A-typesystem
Area: The type system
Could type inference fill in
expr as Box<_>
when expectingBox<Trait>
?From what I have seen, it seems to make no attempt to use the surrounding context to fill in gaps like the
_
inBox<_>
above.spawned from #22086
The text was updated successfully, but these errors were encountered: