pub trait TypedArrayElement { type Element; } pub struct CreateWith<'a, T: 'a>(&'a T); pub fn create(_: CreateWith) { } /* #[allow(dead_code)] pub struct TypedArray { computed: T::Element, } impl TypedArray { pub unsafe fn create(_: CreateWith) { } } */