summary refs log tree commit diff
path: root/src/test/ui/const-generics/const-generic-array-wrapper.stderr
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-05-30 19:55:43 +0100
committervarkor <github@varkor.com>2019-05-30 19:55:43 +0100
commit0fdd4191adb998991742c7f63f49b1a6c4e4ec3d (patch)
treebf2f3209cd74a815e240b257f39b9ab9040ce3ac /src/test/ui/const-generics/const-generic-array-wrapper.stderr
parentc28084ac16af4ab594b6860958df140e7c876a13 (diff)
downloadrust-0fdd4191adb998991742c7f63f49b1a6c4e4ec3d.tar.gz
rust-0fdd4191adb998991742c7f63f49b1a6c4e4ec3d.zip
Add regression test for const generics ICE
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src/test/ui/const-generics/const-generic-array-wrapper.stderr')
-rw-r--r--src/test/ui/const-generics/const-generic-array-wrapper.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/const-generics/const-generic-array-wrapper.stderr b/src/test/ui/const-generics/const-generic-array-wrapper.stderr
new file mode 100644
index 00000000000..f92e11d47ed
--- /dev/null
+++ b/src/test/ui/const-generics/const-generic-array-wrapper.stderr
@@ -0,0 +1,6 @@
+warning: the feature `const_generics` is incomplete and may cause the compiler to crash
+  --> $DIR/const-generic-array-wrapper.rs:3:12
+   |
+LL | #![feature(const_generics)]
+   |            ^^^^^^^^^^^^^^
+