]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12758 : rgawdzik/rust/master, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 9 Mar 2014 04:51:48 +0000 (20:51 -0800)
committerbors <bors@rust-lang.org>
Sun, 9 Mar 2014 04:51:48 +0000 (20:51 -0800)
Refactored get_metadata_section to return a Result<MetadataBlob,~str> instead of a Option<MetadataBlob>. This provides more clarity to the user through the debug output when using --ls.

This is kind of a continuation of my original closed pull request 2 months ago (#11544), but I think the time-span constitutes a new pull request.

1  2 
src/librustc/metadata/loader.rs

Simple merge