diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-04-05 18:21:12 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-04-06 12:42:47 -0400 |
| commit | e9ec282df8fb658cca1a0a3acb2cb6cf62fd1f84 (patch) | |
| tree | 8b5208c25fb92e6916aca1efeb0f14747d4b6d09 | |
| parent | 82f43611551c2f44710dd949f6418eda8df93ca9 (diff) | |
| download | rust-e9ec282df8fb658cca1a0a3acb2cb6cf62fd1f84.tar.gz rust-e9ec282df8fb658cca1a0a3acb2cb6cf62fd1f84.zip | |
Fix another call to bug into the macro
| -rw-r--r-- | src/librustc_incremental/persist/load.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc_incremental/persist/load.rs b/src/librustc_incremental/persist/load.rs index 7cf53b37b1c..30923f6826e 100644 --- a/src/librustc_incremental/persist/load.rs +++ b/src/librustc_incremental/persist/load.rs @@ -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); } } } |
