rust/compiler/rustc_borrowck/src/diagnostics
Matthias Krüger 175756f683
Rollup merge of #126884 - estebank:issue-125634, r=Nadrieril
Do not ICE when suggesting dereferencing closure arg

Account for `for` lifetimes when constructing closure to see if dereferencing the return value would be valid.

Fix #125634, fix #124563.
2024-06-25 18:03:00 +02:00
..
bound_region_errors.rs Separate the mir body lifetime from the other lifetimes 2024-06-24 14:28:14 +00:00
conflict_errors.rs Separate the mir body lifetime from the other lifetimes 2024-06-24 14:28:14 +00:00
explain_borrow.rs Separate the mir body lifetime from the other lifetimes 2024-06-24 14:28:14 +00:00
find_all_local_uses.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
find_use.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
mod.rs Separate the mir body lifetime from the other lifetimes 2024-06-24 14:28:14 +00:00
move_errors.rs Separate the mir body lifetime from the other lifetimes 2024-06-24 14:28:14 +00:00
mutability_errors.rs Separate the mir body lifetime from the other lifetimes 2024-06-24 14:28:14 +00:00
outlives_suggestion.rs Separate the mir body lifetime from the other lifetimes 2024-06-24 14:28:14 +00:00
region_errors.rs Rollup merge of #126884 - estebank:issue-125634, r=Nadrieril 2024-06-25 18:03:00 +02:00
region_name.rs Separate the mir body lifetime from the other lifetimes 2024-06-24 14:28:14 +00:00
var_name.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00