Skip to content

Commit 670f554

Browse files
committed
Fix another call to bug into the macro
1 parent acd4410 commit 670f554

File tree

1 file changed

+1
-3
lines changed
  • src/librustc_incremental/persist

1 file changed

+1
-3
lines changed

src/librustc_incremental/persist/load.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ pub fn load_dep_graph_if_exists<'tcx>(tcx: &ty::TyCtxt<'tcx>, path: &Path) {
6969
match decode_dep_graph(tcx, Doc::new(&data)) {
7070
Ok(dirty) => dirty,
7171
Err(err) => {
72-
tcx.sess.bug(
73-
&format!("decoding error in dep-graph from `{}`: {}",
74-
path.display(), err));
72+
bug!("decoding error in dep-graph from `{}`: {}", path.display(), err);
7573
}
7674
}
7775
}

0 commit comments

Comments
 (0)