tree: e2ff6309033f74f6d8dd18ad4e0a80360654d5e7 [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/run-pass/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.