rust/tests/ui/issues/issue-4464.rs

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