mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
…
|
||
---|---|---|
.. | ||
expect-infer-supply-two-infers.rs | ||
issue-38714.rs | ||
README.md | ||
supply-just-return-type.rs | ||
supply-nothing.rs |
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 tests/ui/closure-expected-type
.