We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2817be9 commit f2ef8bfCopy full SHA for f2ef8bf
src/tools/compiletest/src/runtest.rs
@@ -3328,8 +3328,11 @@ impl<'test> TestCx<'test> {
3328
},
3329
)
3330
.unwrap();
3331
- let fixed_code = apply_suggestions(&unfixed_code, &suggestions).unwrap_or_else(|_| {
3332
- panic!("failed to apply suggestions for {:?} with rustfix", self.testpaths.file)
+ let fixed_code = apply_suggestions(&unfixed_code, &suggestions).unwrap_or_else(|e| {
+ panic!(
3333
+ "failed to apply suggestions for {:?} with rustfix: {}",
3334
+ self.testpaths.file, e
3335
+ )
3336
});
3337
3338
errors += self.compare_output("fixed", &fixed_code, &expected_fixed);
0 commit comments