Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Sep 25, 2017
1 parent 3c32c6a commit 843cd5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc_trans_utils/trans_crate.rs
Expand Up @@ -198,8 +198,7 @@ impl TransCrate for MetadataOnlyTransCrate {
tcx.sess.abort_if_errors();

let crate_hash = tcx.dep_graph
.fingerprint_of(&DepNode::new_no_params(DepKind::Krate))
.unwrap();
.fingerprint_of(&DepNode::new_no_params(DepKind::Krate));
let link_meta = build_link_meta(crate_hash);
let exported_symbols = ::find_exported_symbols(tcx);
let (metadata, _hashes) = tcx.encode_metadata(&link_meta, &exported_symbols);
Expand Down

0 comments on commit 843cd5b

Please sign in to comment.