rust/compiler/rustc_borrowck
Matthias Krüger e066208255
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
2025-02-02 18:05:23 +01:00
..
src Rollup merge of #136402 - notriddle:notriddle/let-expr-detector, r=compiler-errors 2025-02-02 18:05:23 +01:00
Cargo.toml compiler: Replace rustc_target with _abi in _borrowck 2024-11-02 20:31:47 -07:00
messages.ftl Rework "long type names" printing logic 2025-01-31 20:39:01 +00:00