Commit db60f89
committed
Overwrite
This commit re-put a bool value `ref_pat_matches_mut_ref` into the if block.
In all editions (not 2024 edition), `max_ref_mutbl` shouldn't changed to `MutblCap::Not` here because it would cause mismatch with `def_br = Yes(Mut)` later and debug_assertion in `calc_default_binding_mode()` panics.
Signed-off-by: Shunpoco <[email protected]>max_ref_mutbl to Not should not happen in all editions1 parent e08cd3c commit db60f89
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2400 | 2400 | | |
2401 | 2401 | | |
2402 | 2402 | | |
2403 | | - | |
| 2403 | + | |
2404 | 2404 | | |
2405 | 2405 | | |
2406 | 2406 | | |
| |||
0 commit comments