summaryrefslogtreecommitdiffstats
path: root/tests/ui/wf/wf-array-elem-sized.rs
blob: 34bf22034265cc12a69031040d35444f6da0e4b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Check that array element types must be Sized. Issue #25692.


#![allow(dead_code)]

struct Foo {
    foo: [[u8]], //~ ERROR E0277
}


fn main() { }