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
External types are opaque, but we need to know if some of their lifetimes are used in mutable borrows or not to properly generate the backward functions.
Example :
structS<'a,T>;impl<'a,T>S<'a,T>{fnuse(self);}
If S doesn't use 'a for mutable borrows, then the pure model for use will have the following signature:
defuse {T} (x : S T) -> Result () := ...
If it uses 'a for mutable borrows, it will have the following signature:
defuse {T} (x : S T) -> Result (S T) := ...
The text was updated successfully, but these errors were encountered:
External types are opaque, but we need to know if some of their lifetimes are used in mutable borrows or not to properly generate the backward functions.
Example :
If
S
doesn't use'a
for mutable borrows, then the pure model foruse
will have the following signature:If it uses
'a
for mutable borrows, it will have the following signature:The text was updated successfully, but these errors were encountered: