Closed
Description
rust/src/librustc_mir/borrow_check.rs
Lines 79 to 102 in 88a28ff
This appears e.g. in
struct S;
fn main() {
let a = &mut S;
let b = *a;
}
and also in the test src/test/compile-fail/borrowck/borrowck-for-loop-correct-cmt-for-pattern.rs