mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
10 lines
184 B
Rust
10 lines
184 B
Rust
//@ 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() {}
|