about summary refs log tree commit diff
path: root/tests/ui/limits/huge-struct.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-09-19 16:44:36 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-09-20 10:01:02 -0700
commit28628f37435e8899d5d0730fc1fb5aa7345a5e31 (patch)
tree2425b938bea0d8ba67f744b4a23154dde799c075 /tests/ui/limits/huge-struct.rs
parent65f132fd25a15f678ebb9a6fcd7bee540e88f314 (diff)
downloadrust-28628f37435e8899d5d0730fc1fb5aa7345a5e31.tar.gz
rust-28628f37435e8899d5d0730fc1fb5aa7345a5e31.zip
Normalize being an annoying little compile test
The issue-112505-overflow test just extended a case of transmute-fail.rs
so simply put them in the same file.

Then we normalize away other cases of this.
Diffstat (limited to 'tests/ui/limits/huge-struct.rs')
-rw-r--r--tests/ui/limits/huge-struct.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/limits/huge-struct.rs b/tests/ui/limits/huge-struct.rs
index b9e90b3e9d1..8d24abba0a2 100644
--- a/tests/ui/limits/huge-struct.rs
+++ b/tests/ui/limits/huge-struct.rs
@@ -1,7 +1,9 @@
+// ignore-tidy-linelength
 //@ build-fail
 //@ normalize-stderr-test: "S32" -> "SXX"
 //@ normalize-stderr-test: "S1M" -> "SXX"
-//@ error-pattern: too big for the current
+//@ normalize-stderr-32bit: "values of the type `[^`]+` are too big" -> "values of the type $$REALLY_TOO_BIG are too big"
+//@ normalize-stderr-64bit: "values of the type `[^`]+` are too big" -> "values of the type $$REALLY_TOO_BIG are too big"
 
 struct S32<T> {
     v0: T,