]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/unsized-locals/issue-50940-with-feature.rs
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / unsized-locals / issue-50940-with-feature.rs
index 3e5d39ab311509000c230009f630ad744c9f3f0f..63b0e830be4ed0290ce08a192b0b1a9ad04e6565 100644 (file)
@@ -1,4 +1,5 @@
-#![feature(unsized_locals)]
+#![feature(unsized_locals, unsized_fn_params)]
+//~^ WARN the feature `unsized_locals` is incomplete
 
 fn main() {
     struct A<X: ?Sized>(X);