2 // See issue #91899. If we treat unnormalized args as WF, `Self` can also be a
3 // source of unsoundness.
5 pub trait Yokeable<'a>: 'static {
9 impl<'a, T: 'static + ?Sized> Yokeable<'a> for &'static T {
13 pub trait ZeroCopyFrom<C: ?Sized>: for<'a> Yokeable<'a> {
14 /// Clone the cart `C` into a [`Yokeable`] struct, which may retain references into `C`.
15 fn zero_copy_from<'b>(cart: &'b C) -> <Self as Yokeable<'b>>::Output;
18 impl<T> ZeroCopyFrom<[T]> for &'static [T] {
19 fn zero_copy_from<'b>(cart: &'b [T]) -> &'b [T] {