rust/compiler/rustc_borrowck/src
bors 3d575a2f2e Auto merge of #113487 - estebank:sugg-113174, r=oli-obk
Use structured suggestion for #113174

When encountering a for loop that is rejected by the borrow checker because it is being advanced within its body, provide a structured suggestion for `while let Some(pat) = iter.next()`.
2023-10-12 02:34:07 +00:00
..
constraints Split {Idx, IndexVec, IndexSlice} into their own modules 2023-04-24 13:53:35 +00:00
diagnostics Use structured suggestion for #113174 2023-10-11 18:26:44 +00:00
region_infer Auto merge of #113218 - lqd:polonius-scopes, r=jackh726 2023-10-11 16:46:03 +00:00
type_check compute NLL loan scopes with liveness in -Zpolonius=next 2023-10-05 15:56:20 +00:00
util Move some utils out of rustc_const_eval 2023-04-16 12:05:54 +02:00
borrow_set.rs address most easy comments 2023-06-20 20:55:31 +08:00
borrowck_errors.rs inline format!() args from rustc_codegen_llvm to the end (4) 2023-07-25 23:20:28 +02:00
constraint_generation.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
consumers.rs Fix redundant explicit link in rustc_borrowck 2023-08-19 02:22:13 +08:00
dataflow.rs compute NLL loan scopes with liveness in -Zpolonius=next 2023-10-05 15:56:20 +00:00
def_use.rs unique borrows are mutating uses 2023-05-29 17:15:48 +02:00
facts.rs introduce Polonius enum for -Zpolonius 2023-10-04 16:16:12 +00:00
invalidation.rs when terminating during unwinding, show the reason why 2023-08-24 13:28:26 +02:00
lib.rs Rollup merge of #116223 - catandcoder:master, r=cjgillot 2023-10-05 00:56:29 -07:00
location.rs Split {Idx, IndexVec, IndexSlice} into their own modules 2023-04-24 13:53:35 +00:00
member_constraints.rs remove unused muts 2023-04-28 20:19:48 +02:00
nll.rs compute NLL loan scopes with liveness in -Zpolonius=next 2023-10-05 15:56:20 +00:00
path_utils.rs Only consider places with the same local in each_borrow_involving_path. 2023-06-27 17:57:10 +00:00
place_ext.rs use PlaceRef abstractions more consistently 2023-06-25 20:38:01 -04:00
places_conflict.rs Add docs, remove code, change subtyper code 2023-10-02 23:39:44 +03:00
prefixes.rs Add docs, remove code, change subtyper code 2023-10-02 23:39:44 +03:00
renumber.rs Remove span from BrAnon. 2023-09-24 09:46:55 +00:00
session_diagnostics.rs Don't report any errors in lower_intrinsics. They should have been typecked before. 2023-09-06 09:38:15 +00:00
universal_regions.rs Fix misuses of a vs an 2023-10-04 08:01:11 +08:00
used_muts.rs Rollup merge of #108856 - Zeegomo:remove-drop-and-rep, r=tmiasko 2023-03-08 21:26:51 +01:00