about summary refs log tree commit diff
path: root/tests/ui/unsized-locals/yote.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unsized-locals/yote.rs')
-rw-r--r--tests/ui/unsized-locals/yote.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/unsized-locals/yote.rs b/tests/ui/unsized-locals/yote.rs
new file mode 100644
index 00000000000..aa5b68a3078
--- /dev/null
+++ b/tests/ui/unsized-locals/yote.rs
@@ -0,0 +1,4 @@
+//@ normalize-stderr: "you are using [0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?( \([^)]*\))?" -> "you are using $$RUSTC_VERSION"
+
+#![feature(unsized_locals)] //~ERROR feature has been removed
+#![crate_type = "lib"]