diff --git a/compiler/rustc_incremental/src/persist/file_format.rs b/compiler/rustc_incremental/src/persist/file_format.rs
index b821ed6cff9f8..0001f54c694de 100644
--- a/compiler/rustc_incremental/src/persist/file_format.rs
+++ b/compiler/rustc_incremental/src/persist/file_format.rs
@@ -54,14 +54,14 @@ pub fn read_file(
report_incremental_info: bool,
path: &Path,
nightly_build: bool,
-) -> io::Result