// check-pass fn f (it: &[T]) where [T] : std::ops::Index, { let _ = &it[0]; } fn main(){}