summaryrefslogtreecommitdiffstats
path: root/src/test/ui/functions-closures/closure-expected-type/README.md
blob: 11d2c9b7fb7641af6fc915f3fd41e93a3f2718a5 (plain)
1
2
3
4
5
6
7
8
Some tests targeted at how we deduce the types of closure arguments.
This process is a result of some heuristics aimed at combining the
*expected type* we have with the *actual types* that we get from
inputs. This investigation was kicked off by #38714, which revealed
some pretty deep flaws in the ad-hoc way that we were doing things
before.

See also `src/test/ui/closure-expected-type`.