File tree 21 files changed +11
-51
lines changed
21 files changed +11
-51
lines changed Original file line number Diff line number Diff line change 3
3
//
4
4
// error-pattern: entry symbol `main` declared multiple times
5
5
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" -> ""
9
6
#![ allow( warnings) ]
10
7
11
8
#[ no_mangle]
Original file line number Diff line number Diff line change 1
1
error: entry symbol `main` declared multiple times
2
- --> $DIR/dupe-symbols-7.rs:12 :1
2
+ --> $DIR/dupe-symbols-7.rs:9 :1
3
3
|
4
4
LL | fn main(){}
5
5
| ^^^^^^^^^
Original file line number Diff line number Diff line change 1
1
// ignore-64bit
2
2
// build-fail
3
3
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" -> ""
7
4
#![ allow( arithmetic_overflow) ]
8
5
9
6
fn main ( ) {
Original file line number Diff line number Diff line change 1
1
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
3
3
|
4
4
LL | let _fat: [u8; (1<<31)+(1<<15)] =
5
5
| ^^^^
Original file line number Diff line number Diff line change 1
1
// build-fail
2
2
// ignore-32bit
3
3
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" -> ""
7
4
#![ allow( arithmetic_overflow) ]
8
5
9
6
fn main ( ) {
Original file line number Diff line number Diff line change 1
1
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
3
3
|
4
4
LL | let _fat: [u8; (1<<61)+(1<<31)] =
5
5
| ^^^^
Original file line number Diff line number Diff line change 1
- // FIXME https://github.com/rust-lang/rust/issues/59774
2
-
3
1
// build-fail
4
- // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
5
- // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
6
2
7
3
fn generic < T : Copy > ( t : T ) {
8
4
let s: [ T ; 1518600000 ] = [ t; 1518600000 ] ;
Original file line number Diff line number Diff line change 1
1
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
3
3
|
4
4
LL | let s: [T; 1518600000] = [t; 1518600000];
5
5
| ^
Original file line number Diff line number Diff line change 2
2
// normalize-stderr-test "std::option::Option<\[u32; \d+\]>" -> "TYPE"
3
3
// normalize-stderr-test "\[u32; \d+\]" -> "TYPE"
4
4
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
-
9
5
#[ cfg( target_pointer_width = "32" ) ]
10
6
type BIG = Option < [ u32 ; ( 1 <<29 ) -1 ] > ;
11
7
Original file line number Diff line number Diff line change 1
1
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
3
3
|
4
4
LL | let big: BIG = None;
5
5
| ^^^
Original file line number Diff line number Diff line change 3
3
// normalize-stderr-test "S1M" -> "SXX"
4
4
// error-pattern: too big for the current
5
5
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" -> ""
9
-
10
6
struct S32 < T > {
11
7
v0 : T ,
12
8
v1 : T ,
Original file line number Diff line number Diff line change 1
1
error: values of the type `SXX<SXX<SXX<u32>>>` are too big for the current architecture
2
- --> $DIR/huge-struct.rs:50 :9
2
+ --> $DIR/huge-struct.rs:46 :9
3
3
|
4
4
LL | let fat: Option<SXX<SXX<SXX<u32>>>> = None;
5
5
| ^^^
Original file line number Diff line number Diff line change 1
1
// ignore-64bit
2
2
// build-fail
3
3
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" -> ""
7
-
8
4
fn main ( ) {
9
5
let x = [ 0usize ; 0xffff_ffff ] ; //~ ERROR too big
10
6
}
Original file line number Diff line number Diff line change 1
1
error: values of the type `[usize; usize::MAX]` are too big for the current architecture
2
- --> $DIR/issue-15919-32.rs:9 :9
2
+ --> $DIR/issue-15919-32.rs:5 :9
3
3
|
4
4
LL | let x = [0usize; 0xffff_ffff];
5
5
| ^
Original file line number Diff line number Diff line change 1
1
// build-fail
2
2
// ignore-32bit
3
3
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" -> ""
7
-
8
4
fn main ( ) {
9
5
let x = [ 0usize ; 0xffff_ffff_ffff_ffff ] ; //~ ERROR too big
10
6
}
Original file line number Diff line number Diff line change 1
1
error: values of the type `[usize; usize::MAX]` are too big for the current architecture
2
- --> $DIR/issue-15919-64.rs:9 :9
2
+ --> $DIR/issue-15919-64.rs:5 :9
3
3
|
4
4
LL | let x = [0usize; 0xffff_ffff_ffff_ffff];
5
5
| ^
Original file line number Diff line number Diff line change 2
2
// normalize-stderr-test "\[&usize; \d+\]" -> "[&usize; usize::MAX]"
3
3
// error-pattern: too big for the current architecture
4
4
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
-
9
5
#[ cfg( target_pointer_width = "64" ) ]
10
6
fn main ( ) {
11
7
let n = 0_usize ;
Original file line number Diff line number Diff line change 1
1
// only-x86_64
2
2
3
- // FIXME https://github.com/rust-lang/rust/issues/59774
4
- // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
5
- // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
6
3
const HUGE_SIZE : usize = !0usize / 8 ;
7
4
8
5
Original file line number Diff line number Diff line change 1
1
error[E0080]: values of the type `[u8; 2305843009213693951]` are too big for the current architecture
2
- --> $DIR/issue-56762.rs:19 :1
2
+ --> $DIR/issue-56762.rs:16 :1
3
3
|
4
4
LL | static MY_TOO_BIG_ARRAY_1: TooBigArray = TooBigArray::new();
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
6
7
7
error[E0080]: values of the type `[u8; 2305843009213693951]` are too big for the current architecture
8
- --> $DIR/issue-56762.rs:21 :1
8
+ --> $DIR/issue-56762.rs:18 :1
9
9
|
10
10
LL | static MY_TOO_BIG_ARRAY_2: [u8; HUGE_SIZE] = [0x00; HUGE_SIZE];
11
11
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change 1
- // FIXME https://github.com/rust-lang/rust/issues/59774
2
-
3
1
// check-fail
4
- // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
5
- // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
6
2
7
3
#![ feature( linkage) ]
8
4
Original file line number Diff line number Diff line change 1
1
error: invalid linkage specified
2
- --> $DIR/linkage3.rs:11 :5
2
+ --> $DIR/linkage3.rs:7 :5
3
3
|
4
4
LL | static foo: *const i32;
5
5
| ^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments