]> git.proxmox.com Git - rustc.git/blob - tests/ui/unsized-locals/issue-30276-feature-flagged.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / unsized-locals / issue-30276-feature-flagged.rs
1 #![feature(unsized_locals)]
2 //~^ WARN the feature `unsized_locals` is incomplete
3
4 struct Test([i32]);
5
6 fn main() {
7 let _x: fn(_) -> Test = Test;
8 } //~^the size for values of type `[i32]` cannot be known at compilation time