File tree 7 files changed +14
-14
lines changed
7 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
1
//@revisions: extern_block definition both
2
2
//@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|crate::intrinsics::abort\(\);" -> "ABORT();"
3
3
//@normalize-stderr-test: "\| +\^+" -> "| ^"
4
- //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> "$1 "
5
- //@normalize-stderr-test: "\n at [^\n]+" -> "$1 "
4
+ //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> ""
5
+ //@normalize-stderr-test: "\n + at [^\n]+" -> ""
6
6
//@[definition,both]error-in-other-file: aborted execution
7
7
#![ feature( rustc_attrs, c_unwind) ]
8
8
Original file line number Diff line number Diff line change 1
1
//@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|crate::intrinsics::abort\(\);" -> "ABORT();"
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> "$1 "
4
- //@normalize-stderr-test: "\n at [^\n]+" -> "$1 "
3
+ //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> ""
4
+ //@normalize-stderr-test: "\n + at [^\n]+" -> ""
5
5
//@error-in-other-file: aborted execution
6
6
#![ feature( never_type) ]
7
7
Original file line number Diff line number Diff line change 1
1
//@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|crate::intrinsics::abort\(\);" -> "ABORT();"
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> "$1 "
4
- //@normalize-stderr-test: "\n at [^\n]+" -> "$1 "
3
+ //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> ""
4
+ //@normalize-stderr-test: "\n + at [^\n]+" -> ""
5
5
//@error-in-other-file: aborted execution
6
6
7
7
#[ allow( deprecated, invalid_value) ]
Original file line number Diff line number Diff line change 1
1
//@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|crate::intrinsics::abort\(\);" -> "ABORT();"
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> "$1 "
4
- //@normalize-stderr-test: "\n at [^\n]+" -> "$1 "
3
+ //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> ""
4
+ //@normalize-stderr-test: "\n + at [^\n]+" -> ""
5
5
//@error-in-other-file: aborted execution
6
6
7
7
struct Foo ;
Original file line number Diff line number Diff line change 1
1
//@compile-flags: -Zmir-opt-level=3 -Zinline-mir-hint-threshold=1000
2
2
//@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|crate::intrinsics::abort\(\);" -> "ABORT();"
3
3
//@normalize-stderr-test: "\| +\^+" -> "| ^"
4
- //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> "$1 "
5
- //@normalize-stderr-test: "\n at [^\n]+" -> "$1 "
4
+ //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> ""
5
+ //@normalize-stderr-test: "\n + at [^\n]+" -> ""
6
6
//@error-in-other-file: aborted execution
7
7
// Enable MIR inlining to ensure that `TerminatorKind::UnwindTerminate` is generated
8
8
// instead of just `UnwindAction::Terminate`.
Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: aborted execution
2
2
//@normalize-stderr-test: "unsafe \{ libc::abort\(\) \}|crate::intrinsics::abort\(\);" -> "ABORT();"
3
3
//@normalize-stderr-test: "\| +\^+" -> "| ^"
4
- //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> "$1 "
5
- //@normalize-stderr-test: "\n at [^\n]+" -> "$1 "
4
+ //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> ""
5
+ //@normalize-stderr-test: "\n + at [^\n]+" -> ""
6
6
#![ feature( c_unwind) ]
7
7
8
8
extern "C" fn panic_abort ( ) {
Original file line number Diff line number Diff line change 1
1
//@normalize-stderr-test: "\| +\^+" -> "| ^"
2
- //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> "$1 "
3
- //@normalize-stderr-test: "\n at [^\n]+" -> "$1 "
2
+ //@normalize-stderr-test: "\n +[0-9]+:[^\n]+" -> ""
3
+ //@normalize-stderr-test: "\n + at [^\n]+" -> ""
4
4
5
5
// Checks that nested panics work correctly.
6
6
You can’t perform that action at this time.
0 commit comments