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 2d17597 commit 4b4f84fCopy full SHA for 4b4f84f
src/tools/compiletest/src/runtest.rs
@@ -3122,7 +3122,9 @@ impl<'test> TestCx<'test> {
3122
self.fatal_proc_rec("failed to compile fixed code", &res);
3123
}
3124
if !res.stderr.is_empty() && !self.props.rustfix_only_machine_applicable {
3125
- self.fatal_proc_rec("fixed code is still producing diagnostics", &res);
+ if !json::rustfix_diagnostics_only(&res.stderr).is_empty() {
3126
+ self.fatal_proc_rec("fixed code is still producing diagnostics", &res);
3127
+ }
3128
3129
3130
0 commit comments