Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const_prop
/
unsized-local-ice.rs
blob: 14d6eee9a2a8528f7a7a0d40042e15451c8c0199 [
file
] [
log
] [
blame
]
//@ 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
()
{}