blob: b0cf1c7ca6d26855c96a3b65746e97ec4ed76dd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//! Test that we allow unsizing `[Opaque; N]` to `[Concrete]`.
//@check-pass
fn hello() -> [impl Sized; 2] {
if false {
let x = hello();
let _: &[i32] = &x;
}
todo!()
}
fn main() {}
|