about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-08-04 13:14:53 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-08-04 13:14:53 -0700
commitf621f890a6e427b6074f0a8561fe1c95feff743d (patch)
tree1f5159768860c76b34323c559be34526305722a0
parentbdd79b849e9db3024c8b5a0426e6a08af20edd2d (diff)
downloadrust-f621f890a6e427b6074f0a8561fe1c95feff743d.tar.gz
rust-f621f890a6e427b6074f0a8561fe1c95feff743d.zip
revert change to single test
-rw-r--r--src/test/ui/huge-enum.rs3
-rw-r--r--src/test/ui/huge-enum.stderr4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/test/ui/huge-enum.rs b/src/test/ui/huge-enum.rs
index 8ac15f3156b..98d0ba6e15c 100644
--- a/src/test/ui/huge-enum.rs
+++ b/src/test/ui/huge-enum.rs
@@ -1,3 +1,6 @@
+// normalize-stderr-test "std::option::Option<\[u32; \d+\]>" -> "TYPE"
+// normalize-stderr-test "\[u32; \d+\]" -> "TYPE"
+
 // FIXME https://github.com/rust-lang/rust/issues/59774
 // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
 // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
diff --git a/src/test/ui/huge-enum.stderr b/src/test/ui/huge-enum.stderr
index 94349f475e9..1f16c81a8f4 100644
--- a/src/test/ui/huge-enum.stderr
+++ b/src/test/ui/huge-enum.stderr
@@ -1,5 +1,5 @@
-error: the type `std::option::Option<[u32; 35184372088831]>` is too big for the current architecture
-  --> $DIR/huge-enum.rs:12:9
+error: the type `TYPE` is too big for the current architecture
+  --> $DIR/huge-enum.rs:15:9
    |
 LL |     let big: BIG = None;
    |         ^^^