diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-06-24 16:43:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-24 16:43:46 +0900 |
| commit | 964fc41b8986c3631e85decbadea3f9f40425811 (patch) | |
| tree | ecb256d5d7b511b0a1953e524f27588449c8bf21 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 33eb3c05c54b306afea341dd233671a9f039156f (diff) | |
| parent | d15fed79b84c621b42699442ccf99563a6bc6881 (diff) | |
| download | rust-964fc41b8986c3631e85decbadea3f9f40425811.tar.gz rust-964fc41b8986c3631e85decbadea3f9f40425811.zip | |
Rollup merge of #98280 - compiler-errors:better-call-closure-on-type-err, r=estebank
Improve suggestion for calling fn-like expr on type mismatch 1.) Suggest calling values of with RPIT types (and probably TAIT) when we expect `Ty` and have `impl Fn() -> Ty` 2.) Suggest calling closures even when they're not assigned to a local variable first 3.) Drive-by fix of a pretty-printing bug (`impl Fn()-> Ty` => `impl Fn() -> Ty`) r? ```@estebank```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
