diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-05-08 11:23:46 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-05-15 11:49:43 +0200 |
| commit | d14c6f2c7907198701dbbc356c2ce505347114b9 (patch) | |
| tree | 3c4396d7304f52c822c30f1f77428d37440be034 /compiler/rustc_codegen_gcc | |
| parent | 38d2387f691df3554a7ac6de2645711c85becb85 (diff) | |
| download | rust-d14c6f2c7907198701dbbc356c2ce505347114b9.tar.gz rust-d14c6f2c7907198701dbbc356c2ce505347114b9.zip | |
Include `let` assignment in suggestion
Placeholders are still given for the content of the whole block. However, if the result of the original `if let` or `match` expression was assigned, the assignment is reflected in the suggestion. No-op assignments (`let x = x;`) are skipped though, unless they contain an explicit type which might help the compiler (`let x: u32 = x;` is kept).
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
