rust/tests/ui/issues/issue-3888-2.rs
2024-02-16 20:02:50 +00:00

9 lines
147 B
Rust

//@ 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() {}