diff options
| author | Yiming Lei <yiming.lei@futurewei.com> | 2022-08-02 21:46:07 -0700 |
|---|---|---|
| committer | Yiming Lei <yiming.lei@futurewei.com> | 2022-08-05 10:28:00 -0700 |
| commit | 9815667b8b59e5351c257f7a62f6c0874fabd7ca (patch) | |
| tree | a257082c72f595e8dc77795bb4c90cd0b5001f01 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | 4493a0f4724c0bae1436242d76cccc9c0a287b80 (diff) | |
| download | rust-9815667b8b59e5351c257f7a62f6c0874fabd7ca.tar.gz rust-9815667b8b59e5351c257f7a62f6c0874fabd7ca.zip | |
implement #98982
when loop as tail expression for miss match type E0308 error, recursively get the return statement and add diagnostic information on it use rustc_hir::intravisit to collect the return expression modified: compiler/rustc_typeck/src/check/coercion.rs new file: src/test/ui/typeck/issue-98982.rs new file: src/test/ui/typeck/issue-98982.stderr
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
