diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2018-02-23 10:24:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-23 10:24:48 -0800 |
| commit | 1e67c1315b6dbd88c5267354a3b29a4a25f398c7 (patch) | |
| tree | 1e212f8c4c5fefc729eefdfc82852b2838130f5d /src/rustllvm/RustWrapper.cpp | |
| parent | a1acb155915329be75e5e1b86e2744e01fc61e3e (diff) | |
| parent | cc05561048f07ae5e99b25bbe5db04eebe0c7cd2 (diff) | |
| download | rust-1e67c1315b6dbd88c5267354a3b29a4a25f398c7.tar.gz rust-1e67c1315b6dbd88c5267354a3b29a4a25f398c7.zip | |
Rollup merge of #48123 - nikomatsakis:issue-47244-expected-num-args, r=estebank
detect wrong number of args when type-checking a closure Instead of creating inference variables for those argument types, use the trait error-reporting code to give a nicer error. This also improves some other spans for existing tests. Fixes #47244 r? @estebank
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
