We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3cfa03 commit b20e267Copy full SHA for b20e267
src/tools/compiletest/src/lib.rs
@@ -571,7 +571,9 @@ pub fn make_tests(
571
&modified_tests,
572
&mut poisoned,
573
)
574
- .unwrap_or_else(|_| panic!("Could not read tests from {}", config.src_base.display()));
+ .unwrap_or_else(|reason| {
575
+ panic!("Could not read tests from {}: {reason}", config.src_base.display())
576
+ });
577
578
if poisoned {
579
eprintln!();
0 commit comments