Fix another call to bug into the macro
This commit is contained in:
parent
82f4361155
commit
e9ec282df8
1 changed files with 1 additions and 3 deletions
|
|
@ -69,9 +69,7 @@ pub fn load_dep_graph_if_exists<'tcx>(tcx: &ty::TyCtxt<'tcx>, path: &Path) {
|
|||
match decode_dep_graph(tcx, Doc::new(&data)) {
|
||||
Ok(dirty) => dirty,
|
||||
Err(err) => {
|
||||
tcx.sess.bug(
|
||||
&format!("decoding error in dep-graph from `{}`: {}",
|
||||
path.display(), err));
|
||||
bug!("decoding error in dep-graph from `{}`: {}", path.display(), err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue