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