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

8 lines
150 B
Rust

//@ check-pass
#![allow(dead_code)]
//@ pretty-expanded FIXME #23616
fn broken(v: &[u8], i: usize, j: usize) -> &[u8] { &v[i..j] }
pub fn main() {}