]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-91633.rs
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / ui / typeck / issue-91633.rs
1 // check-pass
2 fn f<T> (it: &[T])
3 where
4     [T] : std::ops::Index<usize>,
5 {
6     let _ = &it[0];
7 }
8 fn main(){}