Could type inference fill in `expr as Box<_>` when expecting `Box<Trait>` ? From what I have seen, it seems to make no attempt to use the surrounding context to fill in gaps like the `_` in `Box<_>` above. spawned from #22086
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