You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
Consider the following codesample:
The code sample is valid because
t1.0
is a mutable reference tot
. However today this results in an error sayingt1.0.0
is not mutable.This is because the two things that are looked at are
t1
ort1.0.0
which are&(&mut, i32)
andi32
respectively which are both immutable.We need to add extra information in
ty::CapturePlace
storing if the place can be mutated.The text was updated successfully, but these errors were encountered: