blob: c725b3238ea64bad3f7c774b5f12f8aedb47c59c (
plain)
1
2
3
4
5
6
7
8
9
|
// build-pass
//! Regression test for <https://github.com/rust-lang/rust/issues/68538>.
#![feature(unsized_fn_params)]
pub fn take_unsized_slice(s: [u8]) {
s[0];
}
fn main() {}
|