tree: 30486a9e0e20a0c298fd1824d719d8ad872ee4c1 [path history] [tgz]
  1. expect-infer-supply-two-infers.rs
  2. issue-38714.rs
  3. README.md
  4. supply-just-return-type.rs
  5. supply-nothing.rs
src/test/ui/functions-closures/closure-expected-type/README.md

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/compile-fail/closure-expected-type.