File tree Expand file tree Collapse file tree 9 files changed +27
-3
lines changed Expand file tree Collapse file tree 9 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 11//
22// error-pattern: entry symbol `main` defined multiple times
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" -> ""
37#![ allow( warnings) ]
48
59#[ no_mangle]
Original file line number Diff line number Diff line change 11error: entry symbol `main` defined multiple times
2- --> $DIR/dupe-symbols-7.rs:6 :1
2+ --> $DIR/dupe-symbols-7.rs:10 :1
33 |
44LL | fn main(){}
55 | ^^^^^^^^^^^
Original file line number Diff line number Diff line change 11// error-pattern:; 1518600000
22
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+
37fn generic < T : Copy > ( t : T ) {
48 let s: [ T ; 1518600000 ] = [ t; 1518600000 ] ;
59}
Original file line number Diff line number Diff line change 11// error-pattern: too big for the current architecture
22// normalize-stderr-test "\[usize; \d+\]" -> "[usize; N]"
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" -> ""
7+
48#[ cfg( target_pointer_width = "32" ) ]
59fn main ( ) {
610 let x = [ 0usize ; 0xffff_ffff ] ;
Original file line number Diff line number Diff line change 11// normalize-stderr-test "\[&usize; \d+\]" -> "[&usize; N]"
22// error-pattern: too big for the current architecture
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" -> ""
7+
48#![ feature( box_syntax) ]
59
610#[ cfg( target_pointer_width = "64" ) ]
Original file line number Diff line number Diff line change 1+ // FIXME https://github.com/rust-lang/rust/issues/59774
2+ // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
3+ // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
4+
15#![ feature( linkage) ]
26
37extern {
Original file line number Diff line number Diff line change 11error: must have type `*const T` or `*mut T`
2- --> $DIR/linkage2.rs:4 :32
2+ --> $DIR/linkage2.rs:8 :32
33 |
44LL | #[linkage = "extern_weak"] static foo: i32;
55 | ^^^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change 1+ // FIXME https://github.com/rust-lang/rust/issues/59774
2+ // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
3+ // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
4+
15#![ feature( linkage) ]
26
37extern {
Original file line number Diff line number Diff line change 11error: invalid linkage specified
2- --> $DIR/linkage3.rs:4 :24
2+ --> $DIR/linkage3.rs:8 :24
33 |
44LL | #[linkage = "foo"] static foo: *const i32;
55 | ^^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments