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
Had a problem with this example. The rc_inner struct has data members with lifetimes (manually_drop data_). That lifetime refers not to the rc_inner but to the outer class rc. This needs some special normalization.
What's the strategy? Simplest is to just error. But it seems we can implicitly provide lifetime parameters on rc_inner. Which ones? Only the ones used? All the ones in the surrounding class? When does naming rc_inner give it implicit lifetime arguments?
Had a problem with this example. The rc_inner struct has data members with lifetimes (manually_drop data_). That lifetime refers not to the rc_inner but to the outer class rc. This needs some special normalization.
What's the strategy? Simplest is to just error. But it seems we can implicitly provide lifetime parameters on rc_inner. Which ones? Only the ones used? All the ones in the surrounding class? When does naming rc_inner give it implicit lifetime arguments?
The text was updated successfully, but these errors were encountered: