rust/compiler/rustc_mir/src
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
..
borrow_check Fix panic when emitting diagnostic for closure mutable binding error 2021-02-03 12:36:24 -05:00
const_eval clean up some const error reporting around promoteds 2021-01-24 13:34:34 +01:00
dataflow Use PlaceRef more consistently in rustc_mir 2021-01-16 10:44:23 -06:00
interpret Auto merge of #81327 - RalfJung:codegen-no-const-fail, r=oli-obk 2021-01-31 07:03:09 +00:00
monomorphize Rollup merge of #80944 - LingMan:map_or, r=nagisa 2021-01-15 18:26:14 +09:00
transform Rollup merge of #80404 - JulianKnodt:arr_ref, r=oli-obk 2021-01-31 16:36:42 +01:00
util Visit only statements in always live locals 2021-01-27 00:00:00 +00:00
lib.rs Prevent query cycles during inlining 2021-01-23 16:51:22 +00:00
shim.rs Replace let Some(..) = with .is_some() 2021-01-17 19:06:12 -05:00