diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-10-26 11:29:53 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-26 11:29:53 +0530 |
| commit | bf6bfcddf6bf9774022001d5a5d1f859d39a0a8a (patch) | |
| tree | bedf6f9780b35856a9360b8f1bff783cbffb3357 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | a5406feb1cf1a9f2479b72917cf4225e5f6aa240 (diff) | |
| parent | 0fca075ce8a2247b6d59cd8eaf2fd1d6b89855d8 (diff) | |
| download | rust-bf6bfcddf6bf9774022001d5a5d1f859d39a0a8a.tar.gz rust-bf6bfcddf6bf9774022001d5a5d1f859d39a0a8a.zip | |
Rollup merge of #102951 - SparrowLii:type_annotation, r=estebank
suggest type annotation for local statement initialed by ref expression In a local statement with a type declaration, if a ref expression is used on the right side and not used on the left side, in addition to removing the `&` and `&mut` on the right side, we can add them on the left side alternatively Fixes #102892
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
