We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b33008 commit f58e25eCopy full SHA for f58e25e
tests/headers.rs
@@ -16,7 +16,7 @@ fn old_test_headers() {
16
continue;
17
}
18
19
- let file = fs::read_to_string(entry.path()).unwrap();
+ let file = fs::read_to_string(entry.path()).unwrap_or_else(|err| panic!("{}: {err}", entry.path().display()));
20
21
if let Some(header) = old_headers.find(&file) {
22
println!("Found header `{}` in {}", header.as_str(), entry.path().display());
0 commit comments