rust/compiler/rustc_borrowck/src
Esteban Küber a2298a6f19 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-24 03:39:54 +00:00
..
constraints Move RegionTracker to region_infer 2024-06-12 15:48:34 +02:00
diagnostics Do not ICE when suggesting dereferencing closure arg 2024-06-24 03:39:54 +00:00
polonius Auto merge of #125284 - compiler-errors:uplift-misc, r=lcnr 2024-05-21 02:51:38 +00:00
region_infer Rename a bunch of things 2024-06-21 12:32:05 -04:00
type_check Rollup merge of #126410 - RalfJung:smir-const-operand, r=oli-obk 2024-06-15 19:51:35 +02:00
util Move some utils out of rustc_const_eval 2023-04-16 12:05:54 +02:00
borrow_set.rs Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-dead 2024-04-30 15:04:08 +02:00
borrowck_errors.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
consumers.rs BorrowckInferCtxt: infcx by value 2024-05-06 15:20:13 +00:00
dataflow.rs Make depth_first_search into a standalone function 2024-04-14 16:03:08 +00:00
def_use.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
facts.rs Uplift RegionVid 2024-05-20 13:57:58 -04:00
lib.rs make uninitialized_error_reported a set of locals 2024-06-14 21:56:51 -07:00
location.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
member_constraints.rs Invert diagnostic lints. 2024-02-06 13:12:33 +11:00
nll.rs Stop proving outlives constraints on regions we already reported errors on 2024-05-29 09:27:07 +00:00
path_utils.rs remove a bunch of dead parameters in fn 2024-02-12 09:51:35 +08:00
place_ext.rs Move trait into attr so it's greppable 2024-02-16 15:07:37 +00:00
places_conflict.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
prefixes.rs cleanup prefixes iterator 2024-03-13 12:34:58 -07:00
renumber.rs MIR visitor: constant -> const_operand 2024-06-13 15:37:13 +02:00
session_diagnostics.rs Prevent opaque types being instantiated twice with different regions within the same function 2024-03-18 10:26:10 +00:00
universal_regions.rs Stop proving outlives constraints on regions we already reported errors on 2024-05-29 09:27:07 +00:00
used_muts.rs Bump indexmap 2024-02-13 21:03:34 +00:00