rust/src/test/ui/issues/issue-3888-2.rs
2019-11-04 16:03:46 +01:00

10 lines
145 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() {}