rust/compiler/rustc_mir/src/borrow_check
Dylan DPC 5c7b383e59
Rollup merge of #82442 - Aaron1011:fix/closure-mut-crash, r=matthewjasper
Skip emitting closure diagnostic when closure_kind_origins has no entry

Fixes #82438

This map is not guarnateed to have an entry for a closure.
2021-02-27 02:34:30 +01:00
..
constraints mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
diagnostics Rollup merge of #82442 - Aaron1011:fix/closure-mut-crash, r=matthewjasper 2021-02-27 02:34:30 +01:00
region_infer Rename NLL* to Nll* accordingly to C-CASE 2021-01-28 16:18:25 +09:00
type_check Auto merge of #82159 - BoxyUwU:uwu, r=varkor 2021-02-24 21:54:52 +00:00
borrow_set.rs Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
constraint_generation.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
def_use.rs Remove unused PlaceContext::NonUse(NonUseContext::Coverage) 2020-09-09 17:02:19 +02:00
facts.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
invalidation.rs Refactor how SwitchInt stores jump targets 2020-10-10 17:46:11 +02:00
location.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
member_constraints.rs fix typo in docs and comments 2020-09-21 12:14:28 +09:00
mod.rs Only initialize what is used 2021-02-10 09:20:41 +01:00
nll.rs Fix incorrect use mut diagnostics 2021-01-29 15:37:44 -05:00
path_utils.rs Fix incorrect use mut diagnostics 2021-01-29 15:37:44 -05:00
place_ext.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
places_conflict.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
prefixes.rs PlaceRef::ty: use method call syntax 2021-01-16 11:38:14 +01:00
renumber.rs Rename NLL* to Nll* accordingly to C-CASE 2021-01-28 16:18:25 +09:00
universal_regions.rs Rename NLL* to Nll* accordingly to C-CASE 2021-01-28 16:18:25 +09:00
used_muts.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00