Slice pattern incorrectly report double borrow #37302
Labels
A-borrow-checker
Area: The borrow checker
C-bug
Category: This is a bug.
NLL-fixed-by-NLL
Bugs fixed, but only when NLL is enabled.
Seems you can work around issue by throwing enough
&mut
/&
and*
at the problem.Value case has a similar issue that might be related (haven't found a workaround yet):
The text was updated successfully, but these errors were encountered: