We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 490b2cc commit ab38efeCopy full SHA for ab38efe
src/tools/compiletest/src/runtest.rs
@@ -350,10 +350,13 @@ impl<'test> TestCx<'test> {
350
}
351
} else {
352
if proc_res.status.success() {
353
- self.fatal_proc_rec(
354
- &format!("{} test compiled successfully!", self.config.mode)[..],
355
- proc_res,
356
- );
+ {
+ self.error(&format!("{} test did not emit an error", self.config.mode));
+ if self.config.mode == crate::common::Mode::Ui {
+ println!("note: by default, ui tests are expected not to compile");
357
+ }
358
+ proc_res.fatal(None, || ());
359
+ };
360
361
362
if !self.props.dont_check_failure_status {
0 commit comments