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
Generic associated types will allow you to specify associated types that contain lifetimes (similar thread):
pubtraitStdinMapper{typeResources:for<'res>SystemData<'res>;}// other crate:pubstructCharacterSelectionEventStdinMapper{
type Resources<'res> = Read<'res,CharacterAssets>;}
Currently GATs hasn't been stabilized, so we aren't able to parameterize the Resources associated type with the lifetime.
Pending rust-lang/rust #44265.
The text was updated successfully, but these errors were encountered:
In GitLab by @azriel91 on Sep 26, 2018, 13:20
Generic associated types will allow you to specify associated types that contain lifetimes (similar thread):
Currently GATs hasn't been stabilized, so we aren't able to parameterize the
Resources
associated type with the lifetime.Pending rust-lang/rust #44265.
The text was updated successfully, but these errors were encountered: