Repository navigation
0.4.0 (2026-10-02)
Features
-
Added bound propagation to
#[derive(IntoOwned)].For instance:
#[derive(IntoOwned)] struct Wrapped<T: Bound> { pub value: T, }
Will generate the following implementation:
impl<T: Bound> IntoOwned for Wrapped<T> where T: IntoOwned, <T as IntoOwned>::Owned: Bound, { type Owned = Wrapped<<T as IntoOwned>::Owned>; fn into_owned(self) -> Self::Owned { Self::Owned { value: IntoOwned::into_owned(self.value), } } }
Changes
- Improved lifetime dependency resolution and promotion.
Fixes
- Fixed several regressions in expansion.