rust/tests/ui/const_prop/unsized-local-ice.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
183 B
Rust
Raw Normal View History

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