rust/src/test/ui/issues/issue-4464.rs
2019-07-03 06:30:28 +09:00

8 lines
185 B
Rust

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