]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3888-2.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-3888-2.rs
1 // check-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 fn vec_peek<'r, T>(v: &'r [T]) -> &'r [T] {
6     &v[1..5]
7 }
8
9 pub fn main() {}