1 // compile-flags: -Znormalize-docs
5 pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) {
12 pub trait SVec: Index<
18 Output = <Index<<Self as SVec>::Item,
23 Output = <Self as SVec>::Item> as SVec>::Item,
35 fn len(&self) -> <Self as SVec>::Item;