rust/src/test/ui/issues/issue-3888-2.rs
2018-12-25 21:08:33 -07:00

10 lines
147 B
Rust

// compile-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
fn vec_peek<'r, T>(v: &'r [T]) -> &'r [T] {
&v[1..5]
}
pub fn main() {}