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 was archived by the owner on Apr 5, 2024. It is now read-only.
Consider the following codesample:
The code sample is valid because
t1.0is a mutable reference tot. However today this results in an error sayingt1.0.0is not mutable.This is because the two things that are looked at are
t1ort1.0.0which are&(&mut, i32)andi32respectively which are both immutable.We need to add extra information in
ty::CapturePlacestoring if the place can be mutated.