From f621f890a6e427b6074f0a8561fe1c95feff743d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20K=C3=BCber?= Date: Sun, 4 Aug 2019 13:14:53 -0700 Subject: [PATCH] revert change to single test --- src/test/ui/huge-enum.rs | 3 +++ src/test/ui/huge-enum.stderr | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test/ui/huge-enum.rs b/src/test/ui/huge-enum.rs index 8ac15f3156bfd..98d0ba6e15c09 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 94349f475e9be..1f16c81a8f45e 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; | ^^^