Skip to content

Commit 768998a

Browse files
committed
Normalize tests for i686 Windows.
1 parent cd12c82 commit 768998a

26 files changed

+58
-82
lines changed

src/test/ui/huge-enum.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// error-pattern: Option
12+
// normalize-stderr-test "<\[u32; \d+\]>" -> "<[u32; N]>"
1213

1314
// FIXME: work properly with higher limits
1415

src/test/ui/huge-enum.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: the type `std::option::Option<[u32; 35184372088831]>` is too big for the current architecture
1+
error: the type `std::option::Option<[u32; N]>` is too big for the current architecture
22

33
error: aborting due to previous error
44

src/test/ui/huge-struct.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// normalize-stderr-test "S32" -> "SXX"
12+
// normalize-stderr-test "S1M" -> "SXX"
1113
// error-pattern: too big for the current
1214

1315
struct S32<T> {

src/test/ui/huge-struct.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: the type `S32<S1M<S1M<u32>>>` is too big for the current architecture
1+
error: the type `SXX<SXX<SXX<u32>>>` is too big for the current architecture
22

33
error: aborting due to previous error
44

src/test/ui/issues/issue-15919.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// error-pattern: too big for the current architecture
12+
// normalize-stderr-test "\[usize; \d+\]" -> "[usize; N]"
1213

1314
#[cfg(target_pointer_width = "32")]
1415
fn main() {

src/test/ui/issues/issue-15919.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: the type `[usize; 18446744073709551615]` is too big for the current architecture
1+
error: the type `[usize; N]` is too big for the current architecture
22

33
error: aborting due to previous error
44

src/test/ui/issues/issue-17913.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
11+
// normalize-stderr-test "\[&usize; \d+\]" -> "[&usize; N]"
1212
// error-pattern: too big for the current architecture
1313

1414
#![feature(box_syntax)]

src/test/ui/issues/issue-17913.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: the type `[&usize; 17293822569102704640]` is too big for the current architecture
1+
error: the type `[&usize; N]` is too big for the current architecture
22

33
error: aborting due to previous error
44

0 commit comments

Comments
 (0)