3a2190a9cd
[NLL] Be more permissive when checking access due to Match
Partially addresses #53114. notably, we should now have parity with AST borrowck. Matching on uninitialized values is still forbidden.
* ~~Give fake borrows for match their own `BorrowKind`~~
* ~~Allow borrows with this kind to happen on values that are already mutably borrowed.~~
* ~~Track borrows with this type even behind shared reference dereferences and consider all accesses to be deep when checking for conflicts with this borrow type. See [src/test/ui/issues/issue-27282-mutate-before-diverging-arm-3.rs](
|
||
---|---|---|
.. | ||
borrow_check | ||
build | ||
dataflow | ||
hair | ||
interpret | ||
monomorphize | ||
transform | ||
util | ||
Cargo.toml | ||
const_eval.rs | ||
diagnostics.rs | ||
lib.rs | ||
shim.rs |