rust/src/librustc_metadata
Corey Farwell b5dad3a1ab Rollup merge of #40542 - abonander:issue_40535, r=jseyfried
Correctly get source for metatdata-only crate type

Closes #40535

However, I'm not sure how to approach writing a regression test since I'm still working on a reduced test case from the code that caused the ICE in the first place. It's not enough to have an unknown `extern crate` in a metadata crate, it depends on a few extra arguments but I'm not sure which yet.

Also replaced the `unwrap()` with a more informative `expect()`.

r? @jseyfried
2017-03-22 23:38:00 -04:00
..
astencode.rs rustc: rename TyCtxt's map field to hir. 2017-01-26 13:41:28 +02:00
Cargo.toml Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
creader.rs Correctly get source for metadata crate type; 2017-03-21 16:34:56 -04:00
cstore.rs Refactor Attribute to use Path and TokenStream instead of MetaItem. 2017-03-14 04:03:43 +00:00
cstore_impl.rs Avoid using Mark and Invocation for macro defs. 2017-03-10 08:08:32 -08:00
decoder.rs Check for conflicts between macros 1.0 exports (#[macro_export], #[macro_reexport]) 2017-03-21 16:23:18 -04:00
diagnostics.rs Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
encoder.rs translate tuple-variant constructors using MIR 2017-03-18 02:52:07 +02:00
index.rs Allocate numerical values of DefIndexes from two seperate ranges. 2017-03-22 17:07:19 +01:00
index_builder.rs Allocate numerical values of DefIndexes from two seperate ranges. 2017-03-22 17:07:19 +01:00
lib.rs rustc: introduce a query system for type information in ty::maps. 2017-02-25 17:07:59 +02:00
locator.rs rustc: Prefer loading crates in the sysroot 2017-03-09 07:00:13 -08:00
schema.rs rustc_const_eval: demand that the MIR qualify_consts ran on each evaluated body. 2017-02-25 18:35:26 +02:00