summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-3888-2.rs
blob: d1ef914bdeccb2b491165ab592cd751a649bdfa0 (plain)
1
2
3
4
5
6
7
8
9
// check-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

fn vec_peek<'r, T>(v: &'r [T]) -> &'r [T] {
    &v[1..5]
}

pub fn main() {}