rust/compiler/rustc_mir/src/borrow_check
Aaron Hill bc84e21107
Fix panic when emitting diagnostic for closure mutable binding error
Fixes #81700

The upvar borrow kind may be `ty::BorrowKind::UniqueImmBorrow`, which is
still a mutable borrow for the purposes of this diagnostic code.
2021-02-03 12:36:24 -05:00
..
constraints
diagnostics Fix panic when emitting diagnostic for closure mutable binding error 2021-02-03 12:36:24 -05:00
region_infer Rename NLL* to Nll* accordingly to C-CASE 2021-01-28 16:18:25 +09:00
type_check Rollup merge of #81463 - matsujika:nll-ensure-c-case, r=varkor 2021-02-01 14:29:35 +01:00
borrow_set.rs Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
constraint_generation.rs
def_use.rs
facts.rs
invalidation.rs
location.rs
member_constraints.rs
mod.rs Fix typos 2021-01-29 16:01:27 -05: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
places_conflict.rs
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