-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
T-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.
Description
@carllerche wanted a way to make a newtyped &mut
that would reborrow in the same implicit way that reborrows do today. That is, with an &mut
, foo(ptr)
is roughly equivalent to foo(&mut *ptr)
, but if ptr
is MyRef<'a>(&'a mut ...)
, then this will not coerce from MyRef<'a>
to MyRef<'b>
(where 'a:'b
).
rkjnsn, burdges, lambda-fairy, ldr709, dhardy and 15 more
Metadata
Metadata
Assignees
Labels
T-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.