What's happening is that for x it's managing to find a single impl that doesn't require coercion. it's done! it's able to coerce for y because there's a single impl, so all the expected types are known
Function arguments where the only place that you cannot consistently rely on `&` performing deref coercion
-
-
that said, function arguments are the place where this is the most obvious culprit. everything else where this happens is usually when your code is very inference-heavy and generics-heavy enough that there's no single culprit totally could special case functions for this
- 4 more replies
New conversation
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.