]> git.lizzy.rs Git - rust.git/blob - tests/ui/unsized-locals/issue-30276.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / unsized-locals / issue-30276.rs
1 struct Test([i32]);
2
3 fn main() {
4     let _x: fn(_) -> Test = Test;
5 } //~^the size for values of type `[i32]` cannot be known at compilation time