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
Now that we have input-only types, Box<slice> should be relegated to an input-only type
This should be done with a new TyPosition::SliceLifetime associated type, which can be Lifetime or Option<Lifetime>, and is Option<Lifetime> only for input types.
(This would forbid it from occurring in structs, much like callbacks, until we add input-only structs)
Now that we have input-only types,
Box<slice>
should be relegated to an input-only typeThis should be done with a new
TyPosition::SliceLifetime
associated type, which can beLifetime
orOption<Lifetime>
, and isOption<Lifetime>
only for input types.(This would forbid it from occurring in structs, much like callbacks, until we add input-only structs)
cc @robertbastian
The text was updated successfully, but these errors were encountered: