diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-3888-2.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-3888-2.rs b/src/test/ui/issues/issue-3888-2.rs new file mode 100644 index 000000000..d1ef914bd --- /dev/null +++ b/src/test/ui/issues/issue-3888-2.rs @@ -0,0 +1,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() {} |