Remove error annotations stderr

they still showed up in multiline messages
This commit is contained in:
Oli Scherer 2022-07-11 11:50:33 +00:00
parent f3496cbe4b
commit a64f9e7250
3 changed files with 6 additions and 4 deletions

View File

@ -106,6 +106,8 @@ macro_rules! regexes {
"[^ `]*/(rust[^/]*|checkout)/library/" => "RUSTLIB/",
// erase platform file paths
"sys/[a-z]+/" => "sys/PLATFORM/",
// erase error annotations
"//(\\[[a-z,]+\\])?~.*" => "",
}
fn ui(mode: Mode, path: &str) -> Result<()> {

View File

@ -4,8 +4,8 @@ error: abnormal termination: the program aborted execution
--> $DIR/exported_symbol_bad_unwind2.rs:LL:CC
|
LL | / extern "C-unwind" fn nounwind() {
LL | | //[definition]~^ ERROR: abnormal termination: the program aborted execution
LL | | //[both]~^^ ERROR: abnormal termination: the program aborted execution
LL | |
LL | |
LL | | panic!();
LL | | }
| |_^ the program aborted execution

View File

@ -4,8 +4,8 @@ error: abnormal termination: the program aborted execution
--> $DIR/exported_symbol_bad_unwind2.rs:LL:CC
|
LL | / extern "C-unwind" fn nounwind() {
LL | | //[definition]~^ ERROR: abnormal termination: the program aborted execution
LL | | //[both]~^^ ERROR: abnormal termination: the program aborted execution
LL | |
LL | |
LL | | panic!();
LL | | }
| |_^ the program aborted execution