//@ check-pass pub trait Indexable: std::ops::Index { fn index2(&self, i: usize) -> &T { &self[i] } } fn main() {}