diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-02 18:05:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 18:05:23 +0100 |
| commit | e066208255b92685ae5a7f256ecf418f1023ce1b (patch) | |
| tree | b1aa381d5dd04f4b7b292f3898f7b9defc5c26be /compiler/rustc_codegen_gcc/example/alloc_system.rs | |
| parent | 453c32d614e8cb1ac7378c4705b92e1d4ff10310 (diff) | |
| parent | ecb2d5c43dc0f8bed05e23b6d84396457a376d4e (diff) | |
| download | rust-e066208255b92685ae5a7f256ecf418f1023ce1b.tar.gz rust-e066208255b92685ae5a7f256ecf418f1023ce1b.zip | |
Rollup merge of #136402 - notriddle:notriddle/let-expr-detector, r=compiler-errors
diagnostics: fix borrowck suggestions for if/while let conditionals This code detects the case where one of the borrows is inside the let init expr while the other end is not. If that happens, we don't want to suggest adding a semicolon, because it won't work. Fixes #133941
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_system.rs')
0 files changed, 0 insertions, 0 deletions
