diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-03-30 13:48:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-30 13:48:50 +0000 |
| commit | 259182b50b131647975926e8c94aad4c47d33747 (patch) | |
| tree | 318d96b88c220e2cfb249f35c6c8c86ce1783041 /src/test/codegen/src-hash-algorithm | |
| parent | c8d0a9014521d96d1c81fb8f0b97919fe1035bb8 (diff) | |
| parent | 1be8b2ff98f6eded73cecb1f5ad20ea49ba1309a (diff) | |
| download | rust-259182b50b131647975926e8c94aad4c47d33747.tar.gz rust-259182b50b131647975926e8c94aad4c47d33747.zip | |
Merge #11852
11852: Type mismatch when last expression is noreturn asm r=lnicola a=weirdsmiley
When last expression in a function body is noreturn asm, then analyzer
complains about the type mismatch by highlighting entire body. This
fixes it by introducing loop {} in the expanded code.
Fixes: [#11820](https://github.com/rust-analyzer/rust-analyzer/issues/11820)
Co-authored-by: Manas <manas18244@iiitd.ac.in>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
