Skip to content

Commit 4e21e9e

Browse files
committed
Remove some unnecessary normalization
1 parent bf0e22b commit 4e21e9e

21 files changed

+11
-51
lines changed

tests/ui/duplicate/dupe-symbols-7.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
//
44
// error-pattern: entry symbol `main` declared multiple times
55

6-
// FIXME https://github.com/rust-lang/rust/issues/59774
7-
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
8-
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
96
#![allow(warnings)]
107

118
#[no_mangle]

tests/ui/duplicate/dupe-symbols-7.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: entry symbol `main` declared multiple times
2-
--> $DIR/dupe-symbols-7.rs:12:1
2+
--> $DIR/dupe-symbols-7.rs:9:1
33
|
44
LL | fn main(){}
55
| ^^^^^^^^^

tests/ui/limits/huge-array-simple-32.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// ignore-64bit
22
// build-fail
33

4-
// FIXME https://github.com/rust-lang/rust/issues/59774
5-
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
6-
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
74
#![allow(arithmetic_overflow)]
85

96
fn main() {

tests/ui/limits/huge-array-simple-32.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: values of the type `[u8; 2147516416]` are too big for the current architecture
2-
--> $DIR/huge-array-simple-32.rs:10:9
2+
--> $DIR/huge-array-simple-32.rs:7:9
33
|
44
LL | let _fat: [u8; (1<<31)+(1<<15)] =
55
| ^^^^

tests/ui/limits/huge-array-simple-64.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// build-fail
22
// ignore-32bit
33

4-
// FIXME https://github.com/rust-lang/rust/issues/59774
5-
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
6-
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
74
#![allow(arithmetic_overflow)]
85

96
fn main() {

tests/ui/limits/huge-array-simple-64.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: values of the type `[u8; 2305843011361177600]` are too big for the current architecture
2-
--> $DIR/huge-array-simple-64.rs:10:9
2+
--> $DIR/huge-array-simple-64.rs:7:9
33
|
44
LL | let _fat: [u8; (1<<61)+(1<<31)] =
55
| ^^^^

tests/ui/limits/huge-array.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
// FIXME https://github.com/rust-lang/rust/issues/59774
2-
31
// build-fail
4-
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
5-
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
62

73
fn generic<T: Copy>(t: T) {
84
let s: [T; 1518600000] = [t; 1518600000];

tests/ui/limits/huge-array.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: values of the type `[[u8; 1518599999]; 1518600000]` are too big for the current architecture
2-
--> $DIR/huge-array.rs:8:9
2+
--> $DIR/huge-array.rs:4:9
33
|
44
LL | let s: [T; 1518600000] = [t; 1518600000];
55
| ^

tests/ui/limits/huge-enum.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// normalize-stderr-test "std::option::Option<\[u32; \d+\]>" -> "TYPE"
33
// normalize-stderr-test "\[u32; \d+\]" -> "TYPE"
44

5-
// FIXME https://github.com/rust-lang/rust/issues/59774
6-
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
7-
// normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
8-
95
#[cfg(target_pointer_width = "32")]
106
type BIG = Option<[u32; (1<<29)-1]>;
117

tests/ui/limits/huge-enum.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: values of the type `Option<TYPE>` are too big for the current architecture
2-
--> $DIR/huge-enum.rs:16:9
2+
--> $DIR/huge-enum.rs:12:9
33
|
44
LL | let big: BIG = None;
55
| ^^^

0 commit comments

Comments
 (0)