-
-
Couldn't load subscription status.
- Fork 195
Open
Labels
language deficiencyBlocked on missing language or compiler featuresBlocked on missing language or compiler features
Description
Example issue:
#[derive(Archive, Deserialize, Serialize)]
#[rkyv(derive(Clone))] // error: the trait bound <T as Archive>::Archived: Clone is not satisfied
struct Foo<T>(T);Can be fixed if the macro expansion uses:
struct ArchivedFoo<T>(T::Archived) where T: Archiveinstead of:
struct ArchivedFoo<T>(<T as Archive>::Archived) where T: ArchiveI was told this might be a Rust bug but all I know is that the first version should work and the second one doesn't 🤷
Metadata
Metadata
Assignees
Labels
language deficiencyBlocked on missing language or compiler featuresBlocked on missing language or compiler features