rust/tests/ui/wf/wf-array-elem-sized.rs
2023-01-11 09:32:08 +00:00

12 lines
151 B
Rust

// Check that array element types must be Sized. Issue #25692.
#![allow(dead_code)]
struct Foo {
foo: [[u8]], //~ ERROR E0277
}
fn main() { }