The following tests rightly suggest under AST borrowck to use a &mut reference in the type, but there is no such suggestion under NLL.
Tests:
(This list of tests is drawn from an informal paper document that I have been using to keep notes for myself as I work on this...)
The following tests rightly suggest under AST borrowck to use a
&mutreference in the type, but there is no such suggestion under NLL.Tests:
(This list of tests is drawn from an informal paper document that I have been using to keep notes for myself as I work on this...)