Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeuw committed Apr 28, 2023
1 parent 3421aeb commit 1139ba2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions difftest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![feature(is_some_and)]

use core::panic;
use std::{collections::HashMap, convert::identity, path::PathBuf, str::FromStr};
use std::{collections::HashMap, path::PathBuf, str::FromStr};

use clap::{Arg, Command};
use config::Config;
Expand Down Expand Up @@ -83,11 +83,15 @@ fn main() {
{
warn!("Protector UB");
} else {
error!(
"{} didn't pass:\n{}",
source.as_os_str().to_string_lossy(),
results
);
let results = results.to_string();
if results.contains("compiler/rustc_mir_transform/src/nrvo.rs") {
warn!("Known bug: NVRO");
} else {
error!(
"{} didn't pass:\n{results}",
source.as_os_str().to_string_lossy(),
);
}
}
}
}

0 comments on commit 1139ba2

Please sign in to comment.