Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/librustc_metadata/creader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,11 @@ impl<'a> CrateReader<'a> {
.as_ref().map(|s|&**s)
.unwrap_or("an old version of rustc")
);

span_help!(self.sess, span,
"consider removing the compiled binaries and recompiling \
with your current version of rustc");
self.sess.abort_if_errors();
}
}

Expand Down